#1A2F76#1A2F76
#1A2F76 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.6% C 0.125 H 266.9°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2F76 |
|---|---|
| RGB | rgb(26, 47, 118) |
| HSL | hsl(226, 64%, 28%) |
| HSV | hsv(226, 78%, 46%) |
| CMYK | cmyk(78%, 60.2%, 0%, 53.7%) |
| CIE-LAB | lab(22.16, 19.19, -43.10) |
| CIE-LCH | lch(22.16, 47.18, 294.00°) |
| OKLab | oklab(33.62% -0.0068 -0.1244) |
| OKLCH | oklch(33.62% 0.125 266.9) |
| XYZ | xyz(4.7114, 3.5601, 17.5749) |
| Luminance | 0.0356 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.82
Marine Blue
#01386A
ΔE00 6.24
Midnight Blue
#191970
ΔE00 6.95
Darkish Blue
#014182
ΔE00 7.39
Darkslateblue
#483D8B
ΔE00 8.00
Navy Blue
#1B2A4A
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2F76 #76611A
analogous
#1A5D76 #1A2F76 #331A76
triadic
#1A2F76 #761A2F #2F761A
tetradic
#1A2F76 #761A5D #76611A #1A7633
square
#1A2F76 #761A5D #76611A #1A7633
split-complementary
#1A2F76 #76331A #5D761A
monochromatic
#060A19 #0F1B44 #1A2F76 #2543A8 #375BD3
Accessibility & contrast
On white
12.26
#1A2F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#1A2F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2F76
12.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2F76 | 1.00 | 12.26 | 1.71 | 12.26 |
| #FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1a2f76; /* rgb */ color: rgb(26, 47, 118); /* oklch */ color: oklch(33.6% 0.125 266.9);
Tailwind
colors: {
custom: {
50: '#66679e',
500: '#1a2f76',
950: '#000000',
},
}SCSS
$custom: #1a2f76; $custom-light: #66679e; $custom-dark: #000000;
JSON
{
"hex": "#1a2f76",
"rgb": {
"r": 26,
"g": 47,
"b": 118
},
"hsl": {
"h": 226.304,
"s": 63.889,
"l": 28.235
},
"oklch": {
"l": 0.33615,
"c": 0.12457,
"h": 266.9
},
"luminance": 0.03561
}Semantic roles & 50–950 ramp
primary
#1A2F76
secondary
#AB9341
accent
#C141E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E