#1B4DB4#1B4DB4
#1B4DB4 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.172 H 262.4°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4DB4 |
|---|---|
| RGB | rgb(27, 77, 180) |
| HSL | hsl(220, 74%, 41%) |
| HSV | hsv(220, 85%, 71%) |
| CMYK | cmyk(85%, 57.2%, 0%, 29.4%) |
| CIE-LAB | lab(35.66, 23.47, -59.10) |
| CIE-LCH | lch(35.66, 63.59, 291.66°) |
| OKLab | oklab(45.37% -0.0229 -0.1708) |
| OKLCH | oklch(45.37% 0.172 262.4) |
| XYZ | xyz(11.3411, 8.8346, 44.2787) |
| Luminance | 0.0884 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.99
Cobalt
#0047AB
ΔE00 2.36
Cobalt (survey)
#1E488F
ΔE00 5.08
Blue Blue
#2242C7
ΔE00 5.09
Dusk Blue
#26538D
ΔE00 5.72
Denim Blue
#3B5B92
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4DB4 #B4821B
analogous
#1B99B4 #1B4DB4 #351BB4
triadic
#1B4DB4 #B41B4D #4DB41B
tetradic
#1B4DB4 #B41B99 #B4821B #1BB435
square
#1B4DB4 #B41B99 #B4821B #1BB435
split-complementary
#1B4DB4 #B4351B #99B41B
monochromatic
#0B1F4A #13367F #1B4DB4 #2D67DF #628EE7
Accessibility & contrast
On white
7.59
#1B4DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#1B4DB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4DB4
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4DB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4DB4 | 1.00 | 7.59 | 2.77 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #1b4db4; /* rgb */ color: rgb(27, 77, 180); /* oklch */ color: oklch(45.4% 0.172 262.4);
Tailwind
colors: {
custom: {
50: '#747ecb',
500: '#1b4db4',
950: '#000000',
},
}SCSS
$custom: #1b4db4; $custom-light: #747ecb; $custom-dark: #000000;
JSON
{
"hex": "#1b4db4",
"rgb": {
"r": 27,
"g": 77,
"b": 180
},
"hsl": {
"h": 220.392,
"s": 73.913,
"l": 40.588
},
"oklch": {
"l": 0.45369,
"c": 0.17234,
"h": 262.4
},
"luminance": 0.08836
}Semantic roles & 50–950 ramp
primary
#1B4DB4
secondary
#CCA85F
accent
#B437F1
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82