#1F2F76#1F2F76
#1F2F76 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.123 H 269.1°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2F76 |
|---|---|
| RGB | rgb(31, 47, 118) |
| HSL | hsl(229, 58%, 29%) |
| HSV | hsv(229, 74%, 46%) |
| CMYK | cmyk(73.7%, 60.2%, 0%, 53.7%) |
| CIE-LAB | lab(22.42, 19.88, -42.68) |
| CIE-LCH | lch(22.42, 47.08, 294.98°) |
| OKLab | oklab(33.88% -0.0019 -0.123) |
| OKLCH | oklch(33.88% 0.123 269.1) |
| XYZ | xyz(4.8505, 3.6319, 17.5814) |
| Luminance | 0.0363 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.32
Midnight Blue
#191970
ΔE00 6.69
Marine Blue
#01386A
ΔE00 6.79
Darkslateblue
#483D8B
ΔE00 7.49
Darkish Blue
#014182
ΔE00 7.84
Sapphire (survey)
#2138AB
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2F76 #76661F
analogous
#1F5B76 #1F2F76 #3B1F76
triadic
#1F2F76 #761F2F #2F761F
tetradic
#1F2F76 #761F5B #76661F #1F763B
square
#1F2F76 #761F5B #76661F #1F763B
split-complementary
#1F2F76 #763B1F #5B761F
monochromatic
#060A18 #121C46 #1F2F76 #2C42A6 #425CCD
Accessibility & contrast
On white
12.16
#1F2F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#1F2F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2F76
12.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2F76 | 1.00 | 12.16 | 1.73 | 12.16 |
| #FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1f2f76; /* rgb */ color: rgb(31, 47, 118); /* oklch */ color: oklch(33.9% 0.123 269.1);
Tailwind
colors: {
custom: {
50: '#68679e',
500: '#1f2f76',
950: '#000000',
},
}SCSS
$custom: #1f2f76; $custom-light: #68679e; $custom-dark: #000000;
JSON
{
"hex": "#1f2f76",
"rgb": {
"r": 31,
"g": 47,
"b": 118
},
"hsl": {
"h": 228.966,
"s": 58.389,
"l": 29.216
},
"oklch": {
"l": 0.33875,
"c": 0.12303,
"h": 269.1
},
"luminance": 0.03632
}Semantic roles & 50–950 ramp
primary
#1F2F76
secondary
#AA9847
accent
#C546E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E