#1B4DA7#1B4DA7
#1B4DA7 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.3% C 0.155 H 261.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4DA7 |
|---|---|
| RGB | rgb(27, 77, 167) |
| HSL | hsl(219, 72%, 38%) |
| HSV | hsv(219, 84%, 65%) |
| CMYK | cmyk(83.8%, 53.9%, 0%, 34.5%) |
| CIE-LAB | lab(34.66, 18.30, -53.01) |
| CIE-LCH | lch(34.66, 56.08, 289.04°) |
| OKLab | oklab(44.29% -0.024 -0.1529) |
| OKLCH | oklch(44.29% 0.155 261.1) |
| XYZ | xyz(10.0784, 8.3295, 37.6283) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.05
Sapphire
#0F52BA
ΔE00 2.76
Cobalt (survey)
#1E488F
ΔE00 3.38
Dusk Blue
#26538D
ΔE00 4.16
Denim Blue
#3B5B92
ΔE00 5.62
Light Navy
#155084
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4DA7 #A7751B
analogous
#1B93A7 #1B4DA7 #2F1BA7
triadic
#1B4DA7 #A71B4D #4DA71B
tetradic
#1B4DA7 #A71B93 #A7751B #1BA72F
square
#1B4DA7 #A71B93 #A7751B #1BA72F
split-complementary
#1B4DA7 #A72F1B #93A71B
monochromatic
#0A1C3E #123572 #1B4DA7 #2465DC #588AE4
Accessibility & contrast
On white
7.88
#1B4DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#1B4DA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4DA7
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4DA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4DA7 | 1.00 | 7.88 | 2.67 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0258AA
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #1b4da7; /* rgb */ color: rgb(27, 77, 167); /* oklch */ color: oklch(44.3% 0.155 261.1);
Tailwind
colors: {
custom: {
50: '#717ec2',
500: '#1b4da7',
950: '#000000',
},
}SCSS
$custom: #1b4da7; $custom-light: #717ec2; $custom-dark: #000000;
JSON
{
"hex": "#1b4da7",
"rgb": {
"r": 27,
"g": 77,
"b": 167
},
"hsl": {
"h": 218.571,
"s": 72.165,
"l": 38.039
},
"oklch": {
"l": 0.44293,
"c": 0.15479,
"h": 261.1
},
"luminance": 0.08331
}Semantic roles & 50–950 ramp
primary
#1B4DA7
secondary
#C89F56
accent
#AE39EF
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090912
muted
#7B7B81