#1B4182#1B4182
#1B4182 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.7% C 0.118 H 260.4°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4182 |
|---|---|
| RGB | rgb(27, 65, 130) |
| HSL | hsl(218, 66%, 31%) |
| HSV | hsv(218, 79%, 51%) |
| CMYK | cmyk(79.2%, 50%, 0%, 49%) |
| CIE-LAB | lab(28.44, 11.53, -40.49) |
| CIE-LCH | lch(28.44, 42.10, 285.89°) |
| OKLab | oklab(38.69% -0.0197 -0.1163) |
| OKLCH | oklch(38.69% 0.118 260.4) |
| XYZ | xyz(6.3701, 5.6246, 21.8647) |
| Luminance | 0.0563 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 2.06
Cobalt (survey)
#1E488F
ΔE00 2.64
Twilight Blue
#0A437A
ΔE00 2.95
Marine Blue
#01386A
ΔE00 4.50
Prussian Blue
#004577
ΔE00 4.60
Cobalt
#0047AB
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4182 #825C1B
analogous
#1B7482 #1B4182 #281B82
triadic
#1B4182 #821B41 #41821B
tetradic
#1B4182 #821B74 #825C1B #1B8228
square
#1B4182 #821B74 #825C1B #1B8228
split-complementary
#1B4182 #82281B #74821B
monochromatic
#060E1D #10284F #1B4182 #265AB5 #4078D7
Accessibility & contrast
On white
9.88
#1B4182 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#1B4182 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4182
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4182 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4182 | 1.00 | 9.88 | 2.13 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C4884
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1b4182; /* rgb */ color: rgb(27, 65, 130); /* oklch */ color: oklch(38.7% 0.118 260.4);
Tailwind
colors: {
custom: {
50: '#6875a7',
500: '#1b4182',
950: '#000000',
},
}SCSS
$custom: #1b4182; $custom-light: #6875a7; $custom-dark: #000000;
JSON
{
"hex": "#1b4182",
"rgb": {
"r": 27,
"g": 65,
"b": 130
},
"hsl": {
"h": 217.864,
"s": 65.605,
"l": 30.784
},
"oklch": {
"l": 0.38688,
"c": 0.11799,
"h": 260.4
},
"luminance": 0.05625
}Semantic roles & 50–950 ramp
primary
#1B4182
secondary
#B68B43
accent
#AA3FE9
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F