#1B4EA1#1B4EA1
#1B4EA1 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.145 H 259.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4EA1 |
|---|---|
| RGB | rgb(27, 78, 161) |
| HSL | hsl(217, 71%, 37%) |
| HSV | hsv(217, 83%, 63%) |
| CMYK | cmyk(83.2%, 51.6%, 0%, 36.9%) |
| CIE-LAB | lab(34.51, 15.21, -49.66) |
| CIE-LCH | lch(34.51, 51.94, 287.03°) |
| OKLab | oklab(44.04% -0.0254 -0.143) |
| OKLCH | oklch(44.04% 0.145 259.9) |
| XYZ | xyz(9.6071, 8.2538, 34.7981) |
| Luminance | 0.0825 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.75
Cobalt (survey)
#1E488F
ΔE00 2.86
Dusk Blue
#26538D
ΔE00 3.22
Sapphire
#0F52BA
ΔE00 3.28
Light Navy
#155084
ΔE00 4.77
Denim Blue
#3B5B92
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4EA1 #A16E1B
analogous
#1B91A1 #1B4EA1 #2B1BA1
triadic
#1B4EA1 #A11B4E #4EA11B
tetradic
#1B4EA1 #A11B91 #A16E1B #1BA12B
square
#1B4EA1 #A11B91 #A16E1B #1BA12B
split-complementary
#1B4EA1 #A12B1B #91A11B
monochromatic
#091B38 #12356D #1B4EA1 #2467D5 #548AE2
Accessibility & contrast
On white
7.92
#1B4EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#1B4EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4EA1
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4EA1 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1758A4
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #1b4ea1; /* rgb */ color: rgb(27, 78, 161); /* oklch */ color: oklch(44.0% 0.145 259.9);
Tailwind
colors: {
custom: {
50: '#6f7ebd',
500: '#1b4ea1',
950: '#000000',
},
}SCSS
$custom: #1b4ea1; $custom-light: #6f7ebd; $custom-dark: #000000;
JSON
{
"hex": "#1b4ea1",
"rgb": {
"r": 27,
"g": 78,
"b": 161
},
"hsl": {
"h": 217.164,
"s": 71.277,
"l": 36.863
},
"oklch": {
"l": 0.44036,
"c": 0.1453,
"h": 259.9
},
"luminance": 0.08255
}Semantic roles & 50–950 ramp
primary
#1B4EA1
secondary
#C59A52
accent
#A93AEE
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81