#1F3DAE#1F3DAE
#1F3DAE is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.183 H 266.4°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3DAE |
|---|---|
| RGB | rgb(31, 61, 174) |
| HSL | hsl(227, 70%, 40%) |
| HSV | hsv(227, 82%, 68%) |
| CMYK | cmyk(82.2%, 64.9%, 0%, 31.8%) |
| CIE-LAB | lab(31.08, 32.11, -63.03) |
| CIE-LCH | lch(31.08, 70.74, 297.00°) |
| OKLab | oklab(41.83% -0.0114 -0.1825) |
| OKLCH | oklch(41.83% 0.183 266.4) |
| XYZ | xyz(9.8711, 6.6836, 40.8060) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.58
Blue Blue
#2242C7
ΔE00 3.63
Cobalt
#0047AB
ΔE00 4.45
Ocean Blue
#4F42B5
ΔE00 5.95
Blueberry
#464196
ΔE00 5.99
Blue (survey)
#0343DF
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3DAE #AE901F
analogous
#1F84AE #1F3DAE #491FAE
triadic
#1F3DAE #AE1F3D #3DAE1F
tetradic
#1F3DAE #AE1F84 #AE901F #1FAE49
square
#1F3DAE #AE1F84 #AE901F #1FAE49
split-complementary
#1F3DAE #AE491F #84AE1F
monochromatic
#0C1946 #162B7A #1F3DAE #3054DA #647FE3
Accessibility & contrast
On white
8.99
#1F3DAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#1F3DAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3DAE
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3DAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3DAE | 1.00 | 8.99 | 2.34 | 8.99 |
| #FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1f3dae; /* rgb */ color: rgb(31, 61, 174); /* oklch */ color: oklch(41.8% 0.183 266.4);
Tailwind
colors: {
custom: {
50: '#7572c7',
500: '#1f3dae',
950: '#000000',
},
}SCSS
$custom: #1f3dae; $custom-light: #7572c7; $custom-dark: #000000;
JSON
{
"hex": "#1f3dae",
"rgb": {
"r": 31,
"g": 61,
"b": 174
},
"hsl": {
"h": 227.413,
"s": 69.756,
"l": 40.196
},
"oklch": {
"l": 0.41825,
"c": 0.18288,
"h": 266.4
},
"luminance": 0.06685
}Semantic roles & 50–950 ramp
primary
#1F3DAE
secondary
#C8B360
accent
#C73BED
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82