#1A1F74#1A1F74
#1A1F74 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.142 H 271.7°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).
Color values
| HEX | #1A1F74 |
|---|---|
| RGB | rgb(26, 31, 116) |
| HSL | hsl(237, 63%, 28%) |
| HSV | hsv(237, 78%, 45%) |
| CMYK | cmyk(77.6%, 73.3%, 0%, 54.5%) |
| CIE-LAB | lab(17.74, 29.47, -49.06) |
| CIE-LCH | lch(17.74, 57.23, 300.99°) |
| OKLab | oklab(30.31% 0.0043 -0.142) |
| OKLCH | oklch(30.31% 0.142 271.7) |
| XYZ | xyz(4.0673, 2.4601, 16.7801) |
| Luminance | 0.0246 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.66
Royal
#0C1793
ΔE00 5.33
Dark Royal Blue
#02066F
ΔE00 5.67
Darkblue (survey)
#030764
ΔE00 5.87
Deep Blue
#040273
ΔE00 6.32
Navy
#000080
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A1F74 #746F1A
analogous
#1A4C74 #1A1F74 #421A74
triadic
#1A1F74 #741A1F #1F741A
tetradic
#1A1F74 #741A4C #746F1A #1A7442
square
#1A1F74 #741A4C #746F1A #1A7442
split-complementary
#1A1F74 #74421A #4C741A
monochromatic
#060719 #0F1242 #1A1F74 #252CA6 #363FD2
Accessibility & contrast
On white
14.07
#1A1F74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#1A1F74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A1F74
14.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A1F74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A1F74 | 1.00 | 14.07 | 1.49 | 14.07 |
| #FFFFFF | 14.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002772
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1a1f74; /* rgb */ color: rgb(26, 31, 116); /* oklch */ color: oklch(30.3% 0.142 271.7);
Tailwind
colors: {
custom: {
50: '#675b9d',
500: '#1a1f74',
950: '#000000',
},
}SCSS
$custom: #1a1f74; $custom-light: #675b9d; $custom-dark: #000000;
JSON
{
"hex": "#1a1f74",
"rgb": {
"r": 26,
"g": 31,
"b": 116
},
"hsl": {
"h": 236.667,
"s": 63.38,
"l": 27.843
},
"oklch": {
"l": 0.30305,
"c": 0.14202,
"h": 271.7
},
"luminance": 0.02461
}Semantic roles & 50–950 ramp
primary
#1A1F74
secondary
#A9A341
accent
#DD41E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E