#1B4997#1B4997
#1B4997 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.1% C 0.138 H 260.4°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4997 |
|---|---|
| RGB | rgb(27, 73, 151) |
| HSL | hsl(218, 70%, 35%) |
| HSV | hsv(218, 82%, 59%) |
| CMYK | cmyk(82.1%, 51.7%, 0%, 40.8%) |
| CIE-LAB | lab(32.33, 14.57, -47.14) |
| CIE-LCH | lch(32.33, 49.34, 287.17°) |
| OKLab | oklab(42.14% -0.0231 -0.1357) |
| OKLCH | oklch(42.14% 0.138 260.4) |
| XYZ | xyz(8.4184, 7.2315, 30.2243) |
| Luminance | 0.0723 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.08
Cobalt
#0047AB
ΔE00 2.78
Dusk Blue
#26538D
ΔE00 3.83
Darkish Blue
#014182
ΔE00 3.91
Twilight Blue
#0A437A
ΔE00 4.57
Light Navy
#155084
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4997 #97691B
analogous
#1B8797 #1B4997 #2B1B97
triadic
#1B4997 #971B49 #49971B
tetradic
#1B4997 #971B87 #97691B #1B972B
square
#1B4997 #971B87 #97691B #1B972B
split-complementary
#1B4997 #972B1B #87971B
monochromatic
#08172F #123063 #1B4997 #2462CB #4D83DF
Accessibility & contrast
On white
8.58
#1B4997 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#1B4997 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4997
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4997 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4997 | 1.00 | 8.58 | 2.45 | 8.58 |
| #FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#17529A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1b4997; /* rgb */ color: rgb(27, 73, 151); /* oklch */ color: oklch(42.1% 0.138 260.4);
Tailwind
colors: {
custom: {
50: '#6d7bb6',
500: '#1b4997',
950: '#000000',
},
}SCSS
$custom: #1b4997; $custom-light: #6d7bb6; $custom-dark: #000000;
JSON
{
"hex": "#1b4997",
"rgb": {
"r": 27,
"g": 73,
"b": 151
},
"hsl": {
"h": 217.742,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.42141,
"c": 0.13769,
"h": 260.4
},
"luminance": 0.07232
}Semantic roles & 50–950 ramp
primary
#1B4997
secondary
#C1964C
accent
#AB3BEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80