#1F2E76#1F2E76
#1F2E76 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.7% C 0.124 H 269.5°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2E76 |
|---|---|
| RGB | rgb(31, 46, 118) |
| HSL | hsl(230, 58%, 29%) |
| HSV | hsv(230, 74%, 46%) |
| CMYK | cmyk(73.7%, 61%, 0%, 53.7%) |
| CIE-LAB | lab(22.13, 20.58, -43.13) |
| CIE-LCH | lch(22.13, 47.79, 295.51°) |
| OKLab | oklab(33.67% -0.001 -0.1244) |
| OKLCH | oklch(33.67% 0.124 269.5) |
| XYZ | xyz(4.8110, 3.5528, 17.5682) |
| Luminance | 0.0355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.51
Midnight Blue
#191970
ΔE00 6.33
Marine Blue
#01386A
ΔE00 7.09
Darkslateblue
#483D8B
ΔE00 7.52
Sapphire (survey)
#2138AB
ΔE00 8.11
Darkish Blue
#014182
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2E76 #76671F
analogous
#1F5A76 #1F2E76 #3C1F76
triadic
#1F2E76 #761F2E #2E761F
tetradic
#1F2E76 #761F5A #76671F #1F763C
square
#1F2E76 #761F5A #76671F #1F763C
split-complementary
#1F2E76 #763C1F #5A761F
monochromatic
#060918 #121B46 #1F2E76 #2C41A6 #425ACD
Accessibility & contrast
On white
12.28
#1F2E76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#1F2E76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2E76
12.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2E76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2E76 | 1.00 | 12.28 | 1.71 | 12.28 |
| #FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1f2e76; /* rgb */ color: rgb(31, 46, 118); /* oklch */ color: oklch(33.7% 0.124 269.5);
Tailwind
colors: {
custom: {
50: '#68669e',
500: '#1f2e76',
950: '#000000',
},
}SCSS
$custom: #1f2e76; $custom-light: #68669e; $custom-dark: #000000;
JSON
{
"hex": "#1f2e76",
"rgb": {
"r": 31,
"g": 46,
"b": 118
},
"hsl": {
"h": 229.655,
"s": 58.389,
"l": 29.216
},
"oklch": {
"l": 0.33665,
"c": 0.12437,
"h": 269.5
},
"luminance": 0.03553
}Semantic roles & 50–950 ramp
primary
#1F2E76
secondary
#AA9947
accent
#C746E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E