Luminance
0.009
Category
Blue
Type
Dark
Best On
Color Codes
All color formats for your project
HEX
#0F172A0F172ARGB
rgb(15, 23, 42)R:15 G:23 B:42HSL
hsl(222, 47%, 11%)H:222° S:47% L:11%HSV / HSB
hsv(222, 64%, 16%)H:222° S:64% V:16%CMYK
cmyk(64%, 45%, 0%, 84%)C:64 M:45 Y:0 K:84LAB
lab(8, 3, -14)L:8 a:3 b:-14OKLCH
oklch(20.8% 0.040 265.8)L:20.8% C:0.040 H:265.8°Code Formats
color: #0F172A;UIColor(red: 0.059, green: 0.090, blue: 0.165, alpha: 1.0)Color(0xFF0F172A)Color(0xFF0F172A)#FF0F172AContrast Analysis
WCAG compliance with grayscale colors
On White
17.85:1
On Black
1.18:1
Grayscale Contrast
0%
1.2
Fail10%
1.0
Fail20%
1.4
Fail30%
2.1
Fail40%
3.1
AA-large50%
4.5
AA-large60%
6.3
AA70%
8.5
AAA80%
11.1
AAA90%
14.2
AAA100%
17.9
AAABest Grayscale Contrast
#FFFFFF with ratio 17.85:1
Color Harmonies
Harmonious color combinations
complementary
Two colors opposite on the color wheel (180°)
split-complementary
Base color + two colors adjacent to its complement
triadic
Three colors evenly spaced (120° apart)
tetradic
Four colors evenly spaced (90° apart)
analogous
Three colors adjacent on the color wheel (30° apart)
Color Variations
Tints, shades, tones, and full scale
Color Scale (50-900)
50
100
200
300
400
500
600
700
800
900
Tints (Lighter)
Shades (Darker)
Tones (Desaturated)
Gradients (OKLCH)
Primary
90°linear-gradient(90deg, #2A4074 0%, #22345E 100%)linear-gradient(90deg, oklch(38.2% 0.093 265.0) 0%, oklch(33.3% 0.078 265.0) 100%)Vibrant
135°linear-gradient(135deg, #142857 0%, #1D49AF 100%)linear-gradient(135deg, oklch(29.0% 0.089 264.2) 0%, oklch(44.2% 0.170 263.4) 100%)Complementary
90°linear-gradient(90deg, #0F172A 0%, #29210F 100%)linear-gradient(90deg, oklch(20.8% 0.040 265.8) 0%, oklch(25.2% 0.032 86.1) 100%)Analogous
90°linear-gradient(90deg, #0F2429 0%, #0F172A 50%, #140F29 100%)linear-gradient(90deg, oklch(24.5% 0.028 215.0) 0%, oklch(20.8% 0.040 265.8) 50%, oklch(19.1% 0.051 289.5) 100%)Sunset
90°linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)Ocean
135°linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)Dark Mode
180°linear-gradient(180deg, #0F1729 0%, #181C25 100%)linear-gradient(180deg, oklch(20.7% 0.038 265.1) 0%, oklch(22.7% 0.019 266.2) 100%)Radial Glow
Radialradial-gradient(circle, #233661 0%, #293E70 100%)radial-gradient(circle, oklch(34.0% 0.080 264.6) 0%, oklch(37.4% 0.090 265.2) 100%)💡 About OKLCH Gradients
OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).
Generate Full Palette
Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.