#1F1A74#1F1A74
#1F1A74 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.146 H 275.3°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1A74 |
|---|---|
| RGB | rgb(31, 26, 116) |
| HSL | hsl(243, 63%, 28%) |
| HSV | hsv(243, 78%, 45%) |
| CMYK | cmyk(73.3%, 77.6%, 0%, 54.5%) |
| CIE-LAB | lab(16.94, 33.15, -50.36) |
| CIE-LCH | lch(16.94, 60.29, 303.36°) |
| OKLab | oklab(29.83% 0.0136 -0.1456) |
| OKLCH | oklch(29.83% 0.146 275.3) |
| XYZ | xyz(4.0858, 2.2907, 16.7464) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.92
Dark Royal Blue
#02066F
ΔE00 4.42
Darkblue (survey)
#030764
ΔE00 4.80
Royal
#0C1793
ΔE00 4.84
Deep Blue
#040273
ΔE00 4.96
Navy
#000080
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1A74 #6F741A
analogous
#1A4274 #1F1A74 #4C1A74
triadic
#1F1A74 #741F1A #1A741F
tetradic
#1F1A74 #741A42 #6F741A #1A744C
square
#1F1A74 #741A42 #6F741A #1A744C
split-complementary
#1F1A74 #744C1A #42741A
monochromatic
#070619 #120F42 #1F1A74 #2C25A6 #3F36D2
Accessibility & contrast
On white
14.40
#1F1A74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#1F1A74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1A74
14.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1A74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1A74 | 1.00 | 14.40 | 1.46 | 14.40 |
| #FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E77
Deuteranopia (green-blind)
#002672
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1f1a74; /* rgb */ color: rgb(31, 26, 116); /* oklch */ color: oklch(29.8% 0.146 275.3);
Tailwind
colors: {
custom: {
50: '#69589d',
500: '#1f1a74',
950: '#000000',
},
}SCSS
$custom: #1f1a74; $custom-light: #69589d; $custom-dark: #000000;
JSON
{
"hex": "#1f1a74",
"rgb": {
"r": 31,
"g": 26,
"b": 116
},
"hsl": {
"h": 243.333,
"s": 63.38,
"l": 27.843
},
"oklch": {
"l": 0.29827,
"c": 0.14622,
"h": 275.3
},
"luminance": 0.02291
}Semantic roles & 50–950 ramp
primary
#1F1A74
secondary
#A3A941
accent
#E641DD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E