#1B4A98#1B4A98
#1B4A98 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.4% C 0.138 H 260.1°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4A98 |
|---|---|
| RGB | rgb(27, 74, 152) |
| HSL | hsl(217, 70%, 35%) |
| HSV | hsv(217, 82%, 60%) |
| CMYK | cmyk(82.2%, 51.3%, 0%, 40.4%) |
| CIE-LAB | lab(32.69, 14.29, -47.16) |
| CIE-LCH | lch(32.69, 49.28, 286.86°) |
| OKLab | oklab(42.44% -0.0237 -0.1358) |
| OKLCH | oklch(42.44% 0.138 260.1) |
| XYZ | xyz(8.5662, 7.3965, 30.6759) |
| Luminance | 0.0740 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.29
Cobalt
#0047AB
ΔE00 2.79
Dusk Blue
#26538D
ΔE00 3.56
Darkish Blue
#014182
ΔE00 4.12
Light Navy
#155084
ΔE00 4.67
Twilight Blue
#0A437A
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4A98 #98691B
analogous
#1B8898 #1B4A98 #2B1B98
triadic
#1B4A98 #981B4A #4A981B
tetradic
#1B4A98 #981B88 #98691B #1B982B
square
#1B4A98 #981B88 #98691B #1B982B
split-complementary
#1B4A98 #982B1B #88981B
monochromatic
#091730 #123164 #1B4A98 #2463CC #4E85E0
Accessibility & contrast
On white
8.47
#1B4A98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#1B4A98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4A98
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4A98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4A98 | 1.00 | 8.47 | 2.48 | 8.47 |
| #FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#18539B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #1b4a98; /* rgb */ color: rgb(27, 74, 152); /* oklch */ color: oklch(42.4% 0.138 260.1);
Tailwind
colors: {
custom: {
50: '#6d7bb7',
500: '#1b4a98',
950: '#000000',
},
}SCSS
$custom: #1b4a98; $custom-light: #6d7bb7; $custom-dark: #000000;
JSON
{
"hex": "#1b4a98",
"rgb": {
"r": 27,
"g": 74,
"b": 152
},
"hsl": {
"h": 217.44,
"s": 69.832,
"l": 35.098
},
"oklch": {
"l": 0.42443,
"c": 0.13783,
"h": 260.1
},
"luminance": 0.07398
}Semantic roles & 50–950 ramp
primary
#1B4A98
secondary
#C2964D
accent
#AA3BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80