#1B2A4E#1B2A4E
#1B2A4E is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.2% C 0.069 H 265.3°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2A4E |
|---|---|
| RGB | rgb(27, 42, 78) |
| HSL | hsl(222, 49%, 21%) |
| HSV | hsv(222, 65%, 31%) |
| CMYK | cmyk(65.4%, 46.2%, 0%, 69.4%) |
| CIE-LAB | lab(17.64, 6.70, -24.12) |
| CIE-LCH | lch(17.64, 25.03, 285.53°) |
| OKLab | oklab(29.23% -0.0056 -0.0686) |
| OKLCH | oklch(29.23% 0.069 265.3) |
| XYZ | xyz(2.6546, 2.4388, 7.5371) |
| Luminance | 0.0244 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 1.22
Marine
#042E60
ΔE00 4.79
Navy (survey)
#01153E
ΔE00 6.64
Marine Blue
#01386A
ΔE00 7.55
Navy Blue (survey)
#001146
ΔE00 8.38
Dark
#1B2431
ΔE00 9.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2A4E #4E3F1B
analogous
#1B434E #1B2A4E #251B4E
triadic
#1B2A4E #4E1B2A #2A4E1B
tetradic
#1B2A4E #4E1B43 #4E3F1B #1B4E25
square
#1B2A4E #4E1B43 #4E3F1B #1B4E25
split-complementary
#1B2A4E #4E251B #434E1B
monochromatic
#080C17 #0B1221 #1B2A4E #2B427B #3A5BA9
Accessibility & contrast
On white
14.11
#1B2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#1B2A4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2A4E
14.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2A4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2A4E | 1.00 | 14.11 | 1.49 | 14.11 |
| #FFFFFF | 14.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A2E4F
Deuteranopia (green-blind)
#13294D
Tritanopia (blue-blind)
#003238
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1b2a4e; /* rgb */ color: rgb(27, 42, 78); /* oklch */ color: oklch(29.2% 0.069 265.3);
Tailwind
colors: {
custom: {
50: '#5d6380',
500: '#1b2a4e',
950: '#000000',
},
}SCSS
$custom: #1b2a4e; $custom-light: #5d6380; $custom-dark: #000000;
JSON
{
"hex": "#1b2a4e",
"rgb": {
"r": 27,
"g": 42,
"b": 78
},
"hsl": {
"h": 222.353,
"s": 48.571,
"l": 20.588
},
"oklch": {
"l": 0.29228,
"c": 0.06886,
"h": 265.3
},
"luminance": 0.02439
}Semantic roles & 50–950 ramp
primary
#1B2A4E
secondary
#847041
accent
#B050D8
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C