#1B4EA6#1B4EA6
#1B4EA6 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.4% C 0.152 H 260.6°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4EA6 |
|---|---|
| RGB | rgb(27, 78, 166) |
| HSL | hsl(218, 72%, 38%) |
| HSV | hsv(218, 84%, 65%) |
| CMYK | cmyk(83.7%, 53%, 0%, 34.9%) |
| CIE-LAB | lab(34.87, 17.22, -52.07) |
| CIE-LCH | lch(34.87, 54.84, 288.30°) |
| OKLab | oklab(44.43% -0.0248 -0.1501) |
| OKLCH | oklch(44.43% 0.152 260.6) |
| XYZ | xyz(10.0568, 8.4337, 37.1668) |
| Luminance | 0.0843 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.41
Sapphire
#0F52BA
ΔE00 2.71
Cobalt (survey)
#1E488F
ΔE00 3.38
Dusk Blue
#26538D
ΔE00 3.81
Denim Blue
#3B5B92
ΔE00 5.31
Light Navy
#155084
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4EA6 #A6731B
analogous
#1B93A6 #1B4EA6 #2E1BA6
triadic
#1B4EA6 #A61B4E #4EA61B
tetradic
#1B4EA6 #A61B93 #A6731B #1BA62E
square
#1B4EA6 #A61B93 #A6731B #1BA62E
split-complementary
#1B4EA6 #A62E1B #93A61B
monochromatic
#0A1D3D #123571 #1B4EA6 #2467DB #588BE4
Accessibility & contrast
On white
7.82
#1B4EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#1B4EA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4EA6
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4EA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4EA6 | 1.00 | 7.82 | 2.69 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C59A9
Deuteranopia (green-blind)
#004CA4
Tritanopia (blue-blind)
#006472
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #1b4ea6; /* rgb */ color: rgb(27, 78, 166); /* oklch */ color: oklch(44.4% 0.152 260.6);
Tailwind
colors: {
custom: {
50: '#707ec1',
500: '#1b4ea6',
950: '#000000',
},
}SCSS
$custom: #1b4ea6; $custom-light: #707ec1; $custom-dark: #000000;
JSON
{
"hex": "#1b4ea6",
"rgb": {
"r": 27,
"g": 78,
"b": 166
},
"hsl": {
"h": 217.986,
"s": 72.021,
"l": 37.843
},
"oklch": {
"l": 0.4443,
"c": 0.15218,
"h": 260.6
},
"luminance": 0.08435
}Semantic roles & 50–950 ramp
primary
#1B4EA6
secondary
#C79E56
accent
#AC39EF
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090912
muted
#7B7B81