#1B4B98#1B4B98
#1B4B98 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.137 H 259.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4B98 |
|---|---|
| RGB | rgb(27, 75, 152) |
| HSL | hsl(217, 70%, 35%) |
| HSV | hsv(217, 82%, 60%) |
| CMYK | cmyk(82.2%, 50.7%, 0%, 40.4%) |
| CIE-LAB | lab(32.99, 13.61, -46.68) |
| CIE-LCH | lch(32.99, 48.63, 286.25°) |
| OKLab | oklab(42.67% -0.0245 -0.1344) |
| OKLCH | oklch(42.67% 0.137 259.7) |
| XYZ | xyz(8.6335, 7.5311, 30.6983) |
| Luminance | 0.0753 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.46
Cobalt
#0047AB
ΔE00 2.96
Dusk Blue
#26538D
ΔE00 3.22
Darkish Blue
#014182
ΔE00 4.24
Light Navy
#155084
ΔE00 4.40
Sapphire
#0F52BA
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4B98 #98681B
analogous
#1B8998 #1B4B98 #2A1B98
triadic
#1B4B98 #981B4B #4B981B
tetradic
#1B4B98 #981B89 #98681B #1B982A
square
#1B4B98 #981B89 #98681B #1B982A
split-complementary
#1B4B98 #982A1B #89981B
monochromatic
#091830 #123164 #1B4B98 #2465CC #4E86E0
Accessibility & contrast
On white
8.38
#1B4B98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#1B4B98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4B98
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4B98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4B98 | 1.00 | 8.38 | 2.51 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C549B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #1b4b98; /* rgb */ color: rgb(27, 75, 152); /* oklch */ color: oklch(42.7% 0.137 259.7);
Tailwind
colors: {
custom: {
50: '#6d7cb7',
500: '#1b4b98',
950: '#000000',
},
}SCSS
$custom: #1b4b98; $custom-light: #6d7cb7; $custom-dark: #000000;
JSON
{
"hex": "#1b4b98",
"rgb": {
"r": 27,
"g": 75,
"b": 152
},
"hsl": {
"h": 216.96,
"s": 69.832,
"l": 35.098
},
"oklch": {
"l": 0.42668,
"c": 0.13657,
"h": 259.7
},
"luminance": 0.07532
}Semantic roles & 50–950 ramp
primary
#1B4B98
secondary
#C2954D
accent
#A83BED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80