#1B4F9F#1B4F9F
#1B4F9F is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.141 H 259.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4F9F |
|---|---|
| RGB | rgb(27, 79, 159) |
| HSL | hsl(216, 71%, 36%) |
| HSV | hsv(216, 83%, 62%) |
| CMYK | cmyk(83%, 50.3%, 0%, 37.6%) |
| CIE-LAB | lab(34.65, 13.73, -48.22) |
| CIE-LCH | lch(34.65, 50.14, 285.90°) |
| OKLab | oklab(44.11% -0.0265 -0.1388) |
| OKLCH | oklch(44.11% 0.141 259.2) |
| XYZ | xyz(9.5037, 8.3270, 33.9006) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.75
Cobalt (survey)
#1E488F
ΔE00 2.93
Cobalt
#0047AB
ΔE00 3.24
Sapphire
#0F52BA
ΔE00 3.46
Light Navy
#155084
ΔE00 4.35
Denim Blue
#3B5B92
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4F9F #9F6B1B
analogous
#1B919F #1B4F9F #291B9F
triadic
#1B4F9F #9F1B4F #4F9F1B
tetradic
#1B4F9F #9F1B91 #9F6B1B #1B9F29
square
#1B4F9F #9F1B91 #9F6B1B #1B9F29
split-complementary
#1B4F9F #9F291B #919F1B
monochromatic
#091B36 #12356B #1B4F9F #2469D3 #538BE2
Accessibility & contrast
On white
7.88
#1B4F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#1B4F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4F9F
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4F9F | 1.00 | 7.88 | 2.67 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E58A2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #1b4f9f; /* rgb */ color: rgb(27, 79, 159); /* oklch */ color: oklch(44.1% 0.141 259.2);
Tailwind
colors: {
custom: {
50: '#6f7fbc',
500: '#1b4f9f',
950: '#000000',
},
}SCSS
$custom: #1b4f9f; $custom-light: #6f7fbc; $custom-dark: #000000;
JSON
{
"hex": "#1b4f9f",
"rgb": {
"r": 27,
"g": 79,
"b": 159
},
"hsl": {
"h": 216.364,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.44105,
"c": 0.1413,
"h": 259.2
},
"luminance": 0.08328
}Semantic roles & 50–950 ramp
primary
#1B4F9F
secondary
#C59751
accent
#A73AEE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81