#1B4CA8#1B4CA8
#1B4CA8 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.157 H 261.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4CA8 |
|---|---|
| RGB | rgb(27, 76, 168) |
| HSL | hsl(219, 72%, 38%) |
| HSV | hsv(219, 84%, 66%) |
| CMYK | cmyk(83.9%, 54.8%, 0%, 34.1%) |
| CIE-LAB | lab(34.45, 19.37, -53.94) |
| CIE-LCH | lch(34.45, 57.31, 289.76°) |
| OKLab | oklab(44.16% -0.0232 -0.1557) |
| OKLCH | oklch(44.16% 0.157 261.5) |
| XYZ | xyz(10.1018, 8.2278, 38.0939) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.72
Sapphire
#0F52BA
ΔE00 2.87
Cobalt (survey)
#1E488F
ΔE00 3.45
Dusk Blue
#26538D
ΔE00 4.53
Denim Blue
#3B5B92
ΔE00 5.93
Light Navy
#155084
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4CA8 #A8771B
analogous
#1B92A8 #1B4CA8 #301BA8
triadic
#1B4CA8 #A81B4C #4CA81B
tetradic
#1B4CA8 #A81B92 #A8771B #1BA830
square
#1B4CA8 #A81B92 #A8771B #1BA830
split-complementary
#1B4CA8 #A8301B #92A81B
monochromatic
#0A1C3F #133473 #1B4CA8 #2464DC #5989E4
Accessibility & contrast
On white
7.94
#1B4CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#1B4CA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4CA8
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4CA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4CA8 | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#004BA6
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #1b4ca8; /* rgb */ color: rgb(27, 76, 168); /* oklch */ color: oklch(44.2% 0.157 261.5);
Tailwind
colors: {
custom: {
50: '#717dc3',
500: '#1b4ca8',
950: '#000000',
},
}SCSS
$custom: #1b4ca8; $custom-light: #717dc3; $custom-dark: #000000;
JSON
{
"hex": "#1b4ca8",
"rgb": {
"r": 27,
"g": 76,
"b": 168
},
"hsl": {
"h": 219.149,
"s": 72.308,
"l": 38.235
},
"oklch": {
"l": 0.4416,
"c": 0.1574,
"h": 261.5
},
"luminance": 0.08229
}Semantic roles & 50–950 ramp
primary
#1B4CA8
secondary
#C8A157
accent
#B039EF
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090912
muted
#7B7B81