#1B4998#1B4998
#1B4998 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.2% C 0.139 H 260.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4998 |
|---|---|
| RGB | rgb(27, 73, 152) |
| HSL | hsl(218, 70%, 35%) |
| HSV | hsv(218, 82%, 60%) |
| CMYK | cmyk(82.2%, 52%, 0%, 40.4%) |
| CIE-LAB | lab(32.40, 14.97, -47.63) |
| CIE-LCH | lch(32.40, 49.93, 287.45°) |
| OKLab | oklab(42.22% -0.0229 -0.1372) |
| OKLCH | oklch(42.22% 0.139 260.5) |
| XYZ | xyz(8.5000, 7.2641, 30.6538) |
| Luminance | 0.0727 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.21
Cobalt
#0047AB
ΔE00 2.65
Dusk Blue
#26538D
ΔE00 3.90
Darkish Blue
#014182
ΔE00 4.02
Twilight Blue
#0A437A
ΔE00 4.70
Light Navy
#155084
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4998 #986A1B
analogous
#1B8798 #1B4998 #2C1B98
triadic
#1B4998 #981B49 #49981B
tetradic
#1B4998 #981B87 #986A1B #1B982C
square
#1B4998 #981B87 #986A1B #1B982C
split-complementary
#1B4998 #982C1B #87981B
monochromatic
#091730 #123064 #1B4998 #2462CC #4E83E0
Accessibility & contrast
On white
8.56
#1B4998 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#1B4998 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4998
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4998 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4998 | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#15529B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1b4998; /* rgb */ color: rgb(27, 73, 152); /* oklch */ color: oklch(42.2% 0.139 260.5);
Tailwind
colors: {
custom: {
50: '#6d7bb7',
500: '#1b4998',
950: '#000000',
},
}SCSS
$custom: #1b4998; $custom-light: #6d7bb7; $custom-dark: #000000;
JSON
{
"hex": "#1b4998",
"rgb": {
"r": 27,
"g": 73,
"b": 152
},
"hsl": {
"h": 217.92,
"s": 69.832,
"l": 35.098
},
"oklch": {
"l": 0.4222,
"c": 0.13909,
"h": 260.5
},
"luminance": 0.07265
}Semantic roles & 50–950 ramp
primary
#1B4998
secondary
#C2974D
accent
#AB3BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80