#1A2F4E#1A2F4E
#1A2F4E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.4% C 0.063 H 258.0°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2F4E |
|---|---|
| RGB | rgb(26, 47, 78) |
| HSL | hsl(216, 50%, 20%) |
| HSV | hsv(216, 67%, 31%) |
| CMYK | cmyk(66.7%, 39.7%, 0%, 69.4%) |
| CIE-LAB | lab(19.23, 2.87, -21.59) |
| CIE-LCH | lch(19.23, 21.78, 277.56°) |
| OKLab | oklab(30.45% -0.013 -0.0612) |
| OKLCH | oklch(30.45% 0.063 258) |
| XYZ | xyz(2.8172, 2.8024, 7.5987) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.51
Marine
#042E60
ΔE00 4.25
Marine Blue
#01386A
ΔE00 5.86
Dark
#1B2431
ΔE00 7.88
Dark Blue Grey
#1F3B4D
ΔE00 8.69
Navy (survey)
#01153E
ΔE00 8.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2F4E #4E391A
analogous
#1A494E #1A2F4E #1F1A4E
triadic
#1A2F4E #4E1A2F #2F4E1A
tetradic
#1A2F4E #4E1A49 #4E391A #1A4E1F
square
#1A2F4E #4E1A49 #4E391A #1A4E1F
split-complementary
#1A2F4E #4E1F1A #494E1A
monochromatic
#080E17 #0B1320 #1A2F4E #294B7C #3966AA
Accessibility & contrast
On white
13.46
#1A2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1A2F4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2F4E
13.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2F4E | 1.00 | 13.46 | 1.56 | 13.46 |
| #FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22314F
Deuteranopia (green-blind)
#1B2C4D
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1a2f4e; /* rgb */ color: rgb(26, 47, 78); /* oklch */ color: oklch(30.4% 0.063 258.0);
Tailwind
colors: {
custom: {
50: '#5c6780',
500: '#1a2f4e',
950: '#000000',
},
}SCSS
$custom: #1a2f4e; $custom-light: #5c6780; $custom-dark: #000000;
JSON
{
"hex": "#1a2f4e",
"rgb": {
"r": 26,
"g": 47,
"b": 78
},
"hsl": {
"h": 215.769,
"s": 50,
"l": 20.392
},
"oklch": {
"l": 0.30448,
"c": 0.06256,
"h": 258
},
"luminance": 0.02803
}Semantic roles & 50–950 ramp
primary
#1A2F4E
secondary
#846840
accent
#A14EDA
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C