#1F2F88#1F2F88
#1F2F88 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.149 H 269.2°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2F88 |
|---|---|
| RGB | rgb(31, 47, 136) |
| HSL | hsl(231, 63%, 33%) |
| HSV | hsv(231, 77%, 53%) |
| CMYK | cmyk(77.2%, 65.4%, 0%, 46.7%) |
| CIE-LAB | lab(24.00, 26.92, -51.44) |
| CIE-LCH | lch(24.00, 58.06, 297.63°) |
| OKLab | oklab(35.55% -0.002 -0.1487) |
| OKLCH | oklch(35.55% 0.149 269.2) |
| XYZ | xyz(6.0240, 4.1013, 23.7619) |
| Luminance | 0.0410 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.40
Midnight Blue
#191970
ΔE00 6.66
Royal
#0C1793
ΔE00 6.68
Darkslateblue
#483D8B
ΔE00 6.79
Blueberry
#464196
ΔE00 6.87
Marine
#042E60
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2F88 #88781F
analogous
#1F6388 #1F2F88 #431F88
triadic
#1F2F88 #881F2F #2F881F
tetradic
#1F2F88 #881F63 #88781F #1F8843
square
#1F2F88 #881F63 #88781F #1F8843
split-complementary
#1F2F88 #88431F #63881F
monochromatic
#080D24 #141E56 #1F2F88 #2A40BA #4B60D6
Accessibility & contrast
On white
11.54
#1F2F88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#1F2F88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2F88
11.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2F88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2F88 | 1.00 | 11.54 | 1.82 | 11.54 |
| #FFFFFF | 11.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1f2f88; /* rgb */ color: rgb(31, 47, 136); /* oklch */ color: oklch(35.5% 0.149 269.2);
Tailwind
colors: {
custom: {
50: '#6c67ac',
500: '#1f2f88',
950: '#000000',
},
}SCSS
$custom: #1f2f88; $custom-light: #6c67ac; $custom-dark: #000000;
JSON
{
"hex": "#1f2f88",
"rgb": {
"r": 31,
"g": 47,
"b": 136
},
"hsl": {
"h": 230.857,
"s": 62.874,
"l": 32.745
},
"oklch": {
"l": 0.35546,
"c": 0.14874,
"h": 269.2
},
"luminance": 0.04102
}Semantic roles & 50–950 ramp
primary
#1F2F88
secondary
#B9A84A
accent
#CD42E6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F