#1B4E9F#1B4E9F
#1B4E9F is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.143 H 259.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4E9F |
|---|---|
| RGB | rgb(27, 78, 159) |
| HSL | hsl(217, 71%, 36%) |
| HSV | hsv(217, 83%, 62%) |
| CMYK | cmyk(83%, 50.9%, 0%, 37.6%) |
| CIE-LAB | lab(34.36, 14.41, -48.69) |
| CIE-LCH | lch(34.36, 50.78, 286.48°) |
| OKLab | oklab(43.88% -0.0257 -0.1402) |
| OKLCH | oklch(43.88% 0.143 259.6) |
| XYZ | xyz(9.4321, 8.1838, 33.8767) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.69
Cobalt
#0047AB
ΔE00 2.93
Dusk Blue
#26538D
ΔE00 3.00
Sapphire
#0F52BA
ΔE00 3.53
Light Navy
#155084
ΔE00 4.53
Denim Blue
#3B5B92
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4E9F #9F6C1B
analogous
#1B909F #1B4E9F #2A1B9F
triadic
#1B4E9F #9F1B4E #4E9F1B
tetradic
#1B4E9F #9F1B90 #9F6C1B #1B9F2A
square
#1B4E9F #9F1B90 #9F6C1B #1B9F2A
split-complementary
#1B4E9F #9F2A1B #909F1B
monochromatic
#091B36 #12346B #1B4E9F #2468D3 #538AE2
Accessibility & contrast
On white
7.96
#1B4E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#1B4E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4E9F
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4E9F | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B57A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #1b4e9f; /* rgb */ color: rgb(27, 78, 159); /* oklch */ color: oklch(43.9% 0.143 259.6);
Tailwind
colors: {
custom: {
50: '#6f7ebc',
500: '#1b4e9f',
950: '#000000',
},
}SCSS
$custom: #1b4e9f; $custom-light: #6f7ebc; $custom-dark: #000000;
JSON
{
"hex": "#1b4e9f",
"rgb": {
"r": 27,
"g": 78,
"b": 159
},
"hsl": {
"h": 216.818,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.43881,
"c": 0.14254,
"h": 259.6
},
"luminance": 0.08185
}Semantic roles & 50–950 ramp
primary
#1B4E9F
secondary
#C59851
accent
#A83AEE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81