#1B4F9E#1B4F9E
#1B4F9E is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.140 H 259.0°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4F9E |
|---|---|
| RGB | rgb(27, 79, 158) |
| HSL | hsl(216, 71%, 36%) |
| HSV | hsv(216, 83%, 62%) |
| CMYK | cmyk(82.9%, 50%, 0%, 38%) |
| CIE-LAB | lab(34.58, 13.33, -47.73) |
| CIE-LCH | lch(34.58, 49.56, 285.60°) |
| OKLab | oklab(44.03% -0.0266 -0.1373) |
| OKLCH | oklch(44.03% 0.14 259) |
| XYZ | xyz(9.4173, 8.2924, 33.4454) |
| Luminance | 0.0829 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.63
Cobalt (survey)
#1E488F
ΔE00 2.86
Cobalt
#0047AB
ΔE00 3.32
Sapphire
#0F52BA
ΔE00 3.59
Light Navy
#155084
ΔE00 4.23
Denim Blue
#3B5B92
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4F9E #9E6A1B
analogous
#1B919E #1B4F9E #281B9E
triadic
#1B4F9E #9E1B4F #4F9E1B
tetradic
#1B4F9E #9E1B91 #9E6A1B #1B9E28
square
#1B4F9E #9E1B91 #9E6A1B #1B9E28
split-complementary
#1B4F9E #9E281B #919E1B
monochromatic
#091B35 #12356A #1B4F9E #2469D2 #528BE1
Accessibility & contrast
On white
7.90
#1B4F9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#1B4F9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4F9E
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4F9E | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F58A1
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #1b4f9e; /* rgb */ color: rgb(27, 79, 158); /* oklch */ color: oklch(44.0% 0.140 259.0);
Tailwind
colors: {
custom: {
50: '#6e7fbb',
500: '#1b4f9e',
950: '#000000',
},
}SCSS
$custom: #1b4f9e; $custom-light: #6e7fbb; $custom-dark: #000000;
JSON
{
"hex": "#1b4f9e",
"rgb": {
"r": 27,
"g": 79,
"b": 158
},
"hsl": {
"h": 216.183,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.44029,
"c": 0.13991,
"h": 259
},
"luminance": 0.08294
}Semantic roles & 50–950 ramp
primary
#1B4F9E
secondary
#C49651
accent
#A63AEE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81