#1B4CA6#1B4CA6
#1B4CA6 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.0% C 0.155 H 261.3°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4CA6 |
|---|---|
| RGB | rgb(27, 76, 166) |
| HSL | hsl(219, 72%, 38%) |
| HSV | hsv(219, 84%, 65%) |
| CMYK | cmyk(83.7%, 54.2%, 0%, 34.9%) |
| CIE-LAB | lab(34.30, 18.57, -52.99) |
| CIE-LCH | lch(34.30, 56.15, 289.31°) |
| OKLab | oklab(44% -0.0234 -0.1529) |
| OKLCH | oklch(44% 0.155 261.3) |
| XYZ | xyz(9.9169, 8.1538, 37.1202) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.81
Sapphire
#0F52BA
ΔE00 3.04
Cobalt (survey)
#1E488F
ΔE00 3.18
Dusk Blue
#26538D
ΔE00 4.30
Light Navy
#155084
ΔE00 5.73
Denim Blue
#3B5B92
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4CA6 #A6751B
analogous
#1B91A6 #1B4CA6 #2F1BA6
triadic
#1B4CA6 #A61B4C #4CA61B
tetradic
#1B4CA6 #A61B91 #A6751B #1BA62F
square
#1B4CA6 #A61B91 #A6751B #1BA62F
split-complementary
#1B4CA6 #A62F1B #91A61B
monochromatic
#0A1C3D #123471 #1B4CA6 #2464DB #5889E4
Accessibility & contrast
On white
7.98
#1B4CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#1B4CA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4CA6
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4CA6 | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#004BA4
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #1b4ca6; /* rgb */ color: rgb(27, 76, 166); /* oklch */ color: oklch(44.0% 0.155 261.3);
Tailwind
colors: {
custom: {
50: '#717dc1',
500: '#1b4ca6',
950: '#000000',
},
}SCSS
$custom: #1b4ca6; $custom-light: #717dc1; $custom-dark: #000000;
JSON
{
"hex": "#1b4ca6",
"rgb": {
"r": 27,
"g": 76,
"b": 166
},
"hsl": {
"h": 218.849,
"s": 72.021,
"l": 37.843
},
"oklch": {
"l": 0.43997,
"c": 0.15467,
"h": 261.3
},
"luminance": 0.08155
}Semantic roles & 50–950 ramp
primary
#1B4CA6
secondary
#C79F56
accent
#AF39EF
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090912
muted
#7B7B81