#1F2AA9#1F2AA9
#1F2AA9 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.197 H 269.1°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2AA9 |
|---|---|
| RGB | rgb(31, 42, 169) |
| HSL | hsl(235, 69%, 39%) |
| HSV | hsv(235, 82%, 66%) |
| CMYK | cmyk(81.7%, 75.1%, 0%, 33.7%) |
| CIE-LAB | lab(26.19, 42.20, -68.08) |
| CIE-LCH | lch(26.19, 80.10, 301.79°) |
| OKLab | oklab(38.13% -0.0029 -0.1972) |
| OKLCH | oklch(38.13% 0.197 269.1) |
| XYZ | xyz(8.5520, 4.8108, 38.0063) |
| Luminance | 0.0481 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.84
Indigo Blue
#3A18B1
ΔE00 4.63
Royal
#0C1793
ΔE00 5.25
True Blue
#010FCC
ΔE00 5.73
Cobalt Blue
#030AA7
ΔE00 5.76
Royal Blue (survey)
#0504AA
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2AA9 #A99E1F
analogous
#1F6FA9 #1F2AA9 #591FA9
triadic
#1F2AA9 #A91F2A #2AA91F
tetradic
#1F2AA9 #A91F6F #A99E1F #1FA959
square
#1F2AA9 #A91F6F #A99E1F #1FA959
split-complementary
#1F2AA9 #A9591F #6FA91F
monochromatic
#0C1042 #161D75 #1F2AA9 #2D3AD8 #606BE2
Accessibility & contrast
On white
10.70
#1F2AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#1F2AA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2AA9
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2AA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2AA9 | 1.00 | 10.70 | 1.96 | 10.70 |
| #FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#0037A7
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1f2aa9; /* rgb */ color: rgb(31, 42, 169); /* oklch */ color: oklch(38.1% 0.197 269.1);
Tailwind
colors: {
custom: {
50: '#7565c4',
500: '#1f2aa9',
950: '#000000',
},
}SCSS
$custom: #1f2aa9; $custom-light: #7565c4; $custom-dark: #000000;
JSON
{
"hex": "#1f2aa9",
"rgb": {
"r": 31,
"g": 42,
"b": 169
},
"hsl": {
"h": 235.217,
"s": 69,
"l": 39.216
},
"oklch": {
"l": 0.38133,
"c": 0.19727,
"h": 269.1
},
"luminance": 0.04812
}Semantic roles & 50–950 ramp
primary
#1F2AA9
secondary
#C7BE5D
accent
#DE3CEC
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82