#1F2F89#1F2F89
#1F2F89 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.150 H 269.2°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2F89 |
|---|---|
| RGB | rgb(31, 47, 137) |
| HSL | hsl(231, 63%, 33%) |
| HSV | hsv(231, 77%, 54%) |
| CMYK | cmyk(77.4%, 65.7%, 0%, 46.3%) |
| CIE-LAB | lab(24.10, 27.31, -51.91) |
| CIE-LCH | lch(24.10, 58.66, 297.75°) |
| OKLab | oklab(35.64% -0.0021 -0.1501) |
| OKLCH | oklch(35.64% 0.15 269.2) |
| XYZ | xyz(6.0954, 4.1298, 24.1380) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.27
Royal
#0C1793
ΔE00 6.60
Midnight Blue
#191970
ΔE00 6.71
Darkslateblue
#483D8B
ΔE00 6.78
Blueberry
#464196
ΔE00 6.83
Marine
#042E60
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2F89 #89791F
analogous
#1F6489 #1F2F89 #441F89
triadic
#1F2F89 #891F2F #2F891F
tetradic
#1F2F89 #891F64 #89791F #1F8944
square
#1F2F89 #891F64 #89791F #1F8944
split-complementary
#1F2F89 #89441F #64891F
monochromatic
#080D25 #141E57 #1F2F89 #2A40BB #4C61D6
Accessibility & contrast
On white
11.50
#1F2F89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#1F2F89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2F89
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2F89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2F89 | 1.00 | 11.50 | 1.83 | 11.50 |
| #FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1f2f89; /* rgb */ color: rgb(31, 47, 137); /* oklch */ color: oklch(35.6% 0.150 269.2);
Tailwind
colors: {
custom: {
50: '#6c67ac',
500: '#1f2f89',
950: '#000000',
},
}SCSS
$custom: #1f2f89; $custom-light: #6c67ac; $custom-dark: #000000;
JSON
{
"hex": "#1f2f89",
"rgb": {
"r": 31,
"g": 47,
"b": 137
},
"hsl": {
"h": 230.943,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.35642,
"c": 0.15013,
"h": 269.2
},
"luminance": 0.0413
}Semantic roles & 50–950 ramp
primary
#1F2F89
secondary
#B9A84B
accent
#CD42E6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F