#1B4BA8#1B4BA8
#1B4BA8 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.159 H 261.8°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4BA8 |
|---|---|
| RGB | rgb(27, 75, 168) |
| HSL | hsl(220, 72%, 38%) |
| HSV | hsv(220, 84%, 66%) |
| CMYK | cmyk(83.9%, 55.4%, 0%, 34.1%) |
| CIE-LAB | lab(34.17, 20.05, -54.40) |
| CIE-LCH | lch(34.17, 57.97, 290.23°) |
| OKLab | oklab(43.95% -0.0226 -0.157) |
| OKLCH | oklch(43.95% 0.159 261.8) |
| XYZ | xyz(10.0334, 8.0911, 38.0711) |
| Luminance | 0.0809 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.47
Sapphire
#0F52BA
ΔE00 3.10
Cobalt (survey)
#1E488F
ΔE00 3.42
Dusk Blue
#26538D
ΔE00 4.78
Blue Blue
#2242C7
ΔE00 6.03
Darkish Blue
#014182
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4BA8 #A8781B
analogous
#1B92A8 #1B4BA8 #311BA8
triadic
#1B4BA8 #A81B4B #4BA81B
tetradic
#1B4BA8 #A81B92 #A8781B #1BA831
square
#1B4BA8 #A81B92 #A8781B #1BA831
split-complementary
#1B4BA8 #A8311B #92A81B
monochromatic
#0A1C3F #133373 #1B4BA8 #2463DC #5988E4
Accessibility & contrast
On white
8.02
#1B4BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#1B4BA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4BA8
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4BA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4BA8 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#004AA6
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1b4ba8; /* rgb */ color: rgb(27, 75, 168); /* oklch */ color: oklch(43.9% 0.159 261.8);
Tailwind
colors: {
custom: {
50: '#717cc3',
500: '#1b4ba8',
950: '#000000',
},
}SCSS
$custom: #1b4ba8; $custom-light: #717cc3; $custom-dark: #000000;
JSON
{
"hex": "#1b4ba8",
"rgb": {
"r": 27,
"g": 75,
"b": 168
},
"hsl": {
"h": 219.574,
"s": 72.308,
"l": 38.235
},
"oklch": {
"l": 0.43947,
"c": 0.15865,
"h": 261.8
},
"luminance": 0.08092
}Semantic roles & 50–950 ramp
primary
#1B4BA8
secondary
#C8A157
accent
#B139EF
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090912
muted
#7B7B81