#1F2F96#1F2F96
#1F2F96 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.168 H 269.0°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2F96 |
|---|---|
| RGB | rgb(31, 47, 150) |
| HSL | hsl(232, 66%, 35%) |
| HSV | hsv(232, 79%, 59%) |
| CMYK | cmyk(79.3%, 68.7%, 0%, 41.2%) |
| CIE-LAB | lab(25.34, 32.25, -57.92) |
| CIE-LCH | lch(25.34, 66.29, 299.11°) |
| OKLab | oklab(36.93% -0.0029 -0.1677) |
| OKLCH | oklch(36.93% 0.168 269) |
| XYZ | xyz(7.0847, 4.5255, 29.3484) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.69
Royal
#0C1793
ΔE00 5.94
Blueberry
#464196
ΔE00 6.62
Darkslateblue
#483D8B
ΔE00 7.00
Indigo Blue
#3A18B1
ΔE00 7.39
Midnight Blue
#191970
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2F96 #96861F
analogous
#1F6A96 #1F2F96 #4B1F96
triadic
#1F2F96 #961F2F #2F961F
tetradic
#1F2F96 #961F6A #96861F #1F964B
square
#1F2F96 #961F6A #96861F #1F964B
split-complementary
#1F2F96 #964B1F #6A961F
monochromatic
#0A0F31 #151F63 #1F2F96 #293FC9 #5466DC
Accessibility & contrast
On white
11.02
#1F2F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#1F2F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2F96
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2F96 | 1.00 | 11.02 | 1.91 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1f2f96; /* rgb */ color: rgb(31, 47, 150); /* oklch */ color: oklch(36.9% 0.168 269.0);
Tailwind
colors: {
custom: {
50: '#7067b6',
500: '#1f2f96',
950: '#000000',
},
}SCSS
$custom: #1f2f96; $custom-light: #7067b6; $custom-dark: #000000;
JSON
{
"hex": "#1f2f96",
"rgb": {
"r": 31,
"g": 47,
"b": 150
},
"hsl": {
"h": 231.933,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.3693,
"c": 0.1677,
"h": 269
},
"luminance": 0.04526
}Semantic roles & 50–950 ramp
primary
#1F2F96
secondary
#BFB052
accent
#D23FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80