#1A2F8E#1A2F8E
#1A2F8E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.158 H 267.5°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2F8E |
|---|---|
| RGB | rgb(26, 47, 142) |
| HSL | hsl(229, 69%, 33%) |
| HSV | hsv(229, 82%, 56%) |
| CMYK | cmyk(81.7%, 66.9%, 0%, 44.3%) |
| CIE-LAB | lab(24.34, 28.73, -54.63) |
| CIE-LCH | lch(24.34, 61.73, 297.74°) |
| OKLab | oklab(35.9% -0.007 -0.1582) |
| OKLCH | oklch(35.9% 0.158 267.5) |
| XYZ | xyz(6.3233, 4.2049, 26.0643) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.65
Royal
#0C1793
ΔE00 6.36
Blueberry
#464196
ΔE00 6.99
Midnight Blue
#191970
ΔE00 7.09
Darkslateblue
#483D8B
ΔE00 7.18
Marine
#042E60
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2F8E #8E791A
analogous
#1A698E #1A2F8E #3F1A8E
triadic
#1A2F8E #8E1A2F #2F8E1A
tetradic
#1A2F8E #8E1A69 #8E791A #1A8E3F
square
#1A2F8E #8E1A69 #8E791A #1A8E3F
split-complementary
#1A2F8E #8E3F1A #698E1A
monochromatic
#070D27 #111E5A #1A2F8E #2340C2 #4561DD
Accessibility & contrast
On white
11.41
#1A2F8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#1A2F8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2F8E
11.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2F8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2F8E | 1.00 | 11.41 | 1.84 | 11.41 |
| #FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1a2f8e; /* rgb */ color: rgb(26, 47, 142); /* oklch */ color: oklch(35.9% 0.158 267.5);
Tailwind
colors: {
custom: {
50: '#6c67b0',
500: '#1a2f8e',
950: '#000000',
},
}SCSS
$custom: #1a2f8e; $custom-light: #6c67b0; $custom-dark: #000000;
JSON
{
"hex": "#1a2f8e",
"rgb": {
"r": 26,
"g": 47,
"b": 142
},
"hsl": {
"h": 229.138,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.35901,
"c": 0.15833,
"h": 267.5
},
"luminance": 0.04206
}Semantic roles & 50–950 ramp
primary
#1A2F8E
secondary
#BEA845
accent
#CC3CEC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80