#1B4A8E#1B4A8E
#1B4A8E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.7% C 0.124 H 258.2°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4A8E |
|---|---|
| RGB | rgb(27, 74, 142) |
| HSL | hsl(215, 68%, 33%) |
| HSV | hsv(215, 81%, 56%) |
| CMYK | cmyk(81%, 47.9%, 0%, 44.3%) |
| CIE-LAB | lab(31.99, 10.24, -42.19) |
| CIE-LCH | lch(31.99, 43.41, 283.64°) |
| OKLab | oklab(41.68% -0.0253 -0.1211) |
| OKLCH | oklch(41.68% 0.124 258.2) |
| XYZ | xyz(7.7815, 7.0826, 26.5429) |
| Luminance | 0.0708 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.04
Dusk Blue
#26538D
ΔE00 3.01
Darkish Blue
#014182
ΔE00 3.23
Twilight Blue
#0A437A
ΔE00 3.51
Light Navy
#155084
ΔE00 3.69
Cobalt
#0047AB
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4A8E #8E5F1B
analogous
#1B838E #1B4A8E #251B8E
triadic
#1B4A8E #8E1B4A #4A8E1B
tetradic
#1B4A8E #8E1B83 #8E5F1B #1B8E25
square
#1B4A8E #8E1B83 #8E5F1B #1B8E25
split-complementary
#1B4A8E #8E251B #838E1B
monochromatic
#071427 #112F5B #1B4A8E #2565C1 #4784DC
Accessibility & contrast
On white
8.69
#1B4A8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#1B4A8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4A8E
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4A8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4A8E | 1.00 | 8.69 | 2.42 | 8.69 |
| #FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#255191
Deuteranopia (green-blind)
#04468D
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1b4a8e; /* rgb */ color: rgb(27, 74, 142); /* oklch */ color: oklch(41.7% 0.124 258.2);
Tailwind
colors: {
custom: {
50: '#6b7baf',
500: '#1b4a8e',
950: '#000000',
},
}SCSS
$custom: #1b4a8e; $custom-light: #6b7baf; $custom-dark: #000000;
JSON
{
"hex": "#1b4a8e",
"rgb": {
"r": 27,
"g": 74,
"b": 142
},
"hsl": {
"h": 215.478,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.41683,
"c": 0.12376,
"h": 258.2
},
"luminance": 0.07084
}Semantic roles & 50–950 ramp
primary
#1B4A8E
secondary
#BE8D47
accent
#A43DEB
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080910
muted
#7A7B7F