#1B4D98#1B4D98
#1B4D98 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.1% C 0.134 H 258.8°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4D98 |
|---|---|
| RGB | rgb(27, 77, 152) |
| HSL | hsl(216, 70%, 35%) |
| HSV | hsv(216, 82%, 60%) |
| CMYK | cmyk(82.2%, 49.3%, 0%, 40.4%) |
| CIE-LAB | lab(33.58, 12.26, -45.73) |
| CIE-LCH | lch(33.58, 47.35, 285.00°) |
| OKLab | oklab(43.12% -0.026 -0.1315) |
| OKLCH | oklch(43.12% 0.134 258.8) |
| XYZ | xyz(8.7713, 7.8067, 30.7442) |
| Luminance | 0.0781 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.99
Dusk Blue
#26538D
ΔE00 2.58
Cobalt
#0047AB
ΔE00 3.40
Light Navy
#155084
ΔE00 3.90
Sapphire
#0F52BA
ΔE00 4.45
Darkish Blue
#014182
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4D98 #98661B
analogous
#1B8B98 #1B4D98 #281B98
triadic
#1B4D98 #981B4D #4D981B
tetradic
#1B4D98 #981B8B #98661B #1B9828
square
#1B4D98 #981B8B #98661B #1B9828
split-complementary
#1B4D98 #98281B #8B981B
monochromatic
#091830 #123364 #1B4D98 #2467CC #4E88E0
Accessibility & contrast
On white
8.20
#1B4D98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#1B4D98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4D98
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4D98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4D98 | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21559B
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #1b4d98; /* rgb */ color: rgb(27, 77, 152); /* oklch */ color: oklch(43.1% 0.134 258.8);
Tailwind
colors: {
custom: {
50: '#6d7eb7',
500: '#1b4d98',
950: '#000000',
},
}SCSS
$custom: #1b4d98; $custom-light: #6d7eb7; $custom-dark: #000000;
JSON
{
"hex": "#1b4d98",
"rgb": {
"r": 27,
"g": 77,
"b": 152
},
"hsl": {
"h": 216,
"s": 69.832,
"l": 35.098
},
"oklch": {
"l": 0.43121,
"c": 0.13406,
"h": 258.8
},
"luminance": 0.07808
}Semantic roles & 50–950 ramp
primary
#1B4D98
secondary
#C2934D
accent
#A63BED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80