#1B4F98#1B4F98
#1B4F98 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.6% C 0.132 H 257.9°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4F98 |
|---|---|
| RGB | rgb(27, 79, 152) |
| HSL | hsl(215, 70%, 35%) |
| HSV | hsv(215, 82%, 60%) |
| CMYK | cmyk(82.2%, 48%, 0%, 40.4%) |
| CIE-LAB | lab(34.17, 10.91, -44.77) |
| CIE-LCH | lch(34.17, 46.08, 283.69°) |
| OKLab | oklab(43.58% -0.0276 -0.1286) |
| OKLCH | oklch(43.58% 0.132 257.9) |
| XYZ | xyz(8.9134, 8.0909, 30.7916) |
| Luminance | 0.0809 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.99
Cobalt (survey)
#1E488F
ΔE00 2.63
Light Navy
#155084
ΔE00 3.49
Cobalt
#0047AB
ΔE00 3.92
Sapphire
#0F52BA
ΔE00 4.35
Light Navy Blue
#2E5A88
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4F98 #98641B
analogous
#1B8D98 #1B4F98 #261B98
triadic
#1B4F98 #981B4F #4F981B
tetradic
#1B4F98 #981B8D #98641B #1B9826
square
#1B4F98 #981B8D #98641B #1B9826
split-complementary
#1B4F98 #98261B #8D981B
monochromatic
#091930 #123464 #1B4F98 #246ACC #4E8AE0
Accessibility & contrast
On white
8.02
#1B4F98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#1B4F98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4F98
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4F98 | 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)
#26569B
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1b4f98; /* rgb */ color: rgb(27, 79, 152); /* oklch */ color: oklch(43.6% 0.132 257.9);
Tailwind
colors: {
custom: {
50: '#6d7fb7',
500: '#1b4f98',
950: '#000000',
},
}SCSS
$custom: #1b4f98; $custom-light: #6d7fb7; $custom-dark: #000000;
JSON
{
"hex": "#1b4f98",
"rgb": {
"r": 27,
"g": 79,
"b": 152
},
"hsl": {
"h": 215.04,
"s": 69.832,
"l": 35.098
},
"oklch": {
"l": 0.43579,
"c": 0.13158,
"h": 257.9
},
"luminance": 0.08092
}Semantic roles & 50–950 ramp
primary
#1B4F98
secondary
#C2914D
accent
#A33BED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80