#1B4CA5#1B4CA5
#1B4CA5 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.153 H 261.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4CA5 |
|---|---|
| RGB | rgb(27, 76, 165) |
| HSL | hsl(219, 72%, 38%) |
| HSV | hsv(219, 84%, 65%) |
| CMYK | cmyk(83.6%, 53.9%, 0%, 35.3%) |
| CIE-LAB | lab(34.23, 18.17, -52.51) |
| CIE-LCH | lch(34.23, 55.57, 289.09°) |
| OKLab | oklab(43.92% -0.0235 -0.1515) |
| OKLCH | oklch(43.92% 0.153 261.2) |
| XYZ | xyz(9.8255, 8.1173, 36.6390) |
| Luminance | 0.0812 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.86
Cobalt (survey)
#1E488F
ΔE00 3.05
Sapphire
#0F52BA
ΔE00 3.14
Dusk Blue
#26538D
ΔE00 4.19
Light Navy
#155084
ΔE00 5.61
Denim Blue
#3B5B92
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4CA5 #A5741B
analogous
#1B91A5 #1B4CA5 #2F1BA5
triadic
#1B4CA5 #A51B4C #4CA51B
tetradic
#1B4CA5 #A51B91 #A5741B #1BA52F
square
#1B4CA5 #A51B91 #A5741B #1BA52F
split-complementary
#1B4CA5 #A52F1B #91A51B
monochromatic
#0A1C3C #123470 #1B4CA5 #2464DA #5789E3
Accessibility & contrast
On white
8.00
#1B4CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#1B4CA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4CA5
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4CA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4CA5 | 1.00 | 8.00 | 2.62 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0257A8
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1b4ca5; /* rgb */ color: rgb(27, 76, 165); /* oklch */ color: oklch(43.9% 0.153 261.2);
Tailwind
colors: {
custom: {
50: '#707dc0',
500: '#1b4ca5',
950: '#000000',
},
}SCSS
$custom: #1b4ca5; $custom-light: #707dc0; $custom-dark: #000000;
JSON
{
"hex": "#1b4ca5",
"rgb": {
"r": 27,
"g": 76,
"b": 165
},
"hsl": {
"h": 218.696,
"s": 71.875,
"l": 37.647
},
"oklch": {
"l": 0.43916,
"c": 0.15331,
"h": 261.2
},
"luminance": 0.08119
}Semantic roles & 50–950 ramp
primary
#1B4CA5
secondary
#C79E55
accent
#AE39EF
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81