#1B478A#1B478A
#1B478A is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.7% C 0.122 H 258.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #1B478A |
|---|---|
| RGB | rgb(27, 71, 138) |
| HSL | hsl(216, 67%, 32%) |
| HSV | hsv(216, 80%, 54%) |
| CMYK | cmyk(80.4%, 48.6%, 0%, 45.9%) |
| CIE-LAB | lab(30.82, 10.66, -41.63) |
| CIE-LCH | lch(30.82, 42.97, 284.36°) |
| OKLab | oklab(40.69% -0.0235 -0.1196) |
| OKLCH | oklch(40.69% 0.122 258.9) |
| XYZ | xyz(7.2910, 6.5736, 24.9244) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.83
Darkish Blue
#014182
ΔE00 2.45
Twilight Blue
#0A437A
ΔE00 2.96
Dusk Blue
#26538D
ΔE00 3.98
Prussian Blue
#004577
ΔE00 4.16
Cobalt
#0047AB
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B478A #8A5E1B
analogous
#1B7F8A #1B478A #261B8A
triadic
#1B478A #8A1B47 #478A1B
tetradic
#1B478A #8A1B7F #8A5E1B #1B8A26
square
#1B478A #8A1B7F #8A5E1B #1B8A26
split-complementary
#1B478A #8A261B #7F8A1B
monochromatic
#071224 #112D57 #1B478A #2561BD #4580DB
Accessibility & contrast
On white
9.07
#1B478A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#1B478A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B478A
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B478A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B478A | 1.00 | 9.07 | 2.31 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224E8C
Deuteranopia (green-blind)
#014489
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1b478a; /* rgb */ color: rgb(27, 71, 138); /* oklch */ color: oklch(40.7% 0.122 258.9);
Tailwind
colors: {
custom: {
50: '#6a79ad',
500: '#1b478a',
950: '#000000',
},
}SCSS
$custom: #1b478a; $custom-light: #6a79ad; $custom-dark: #000000;
JSON
{
"hex": "#1b478a",
"rgb": {
"r": 27,
"g": 71,
"b": 138
},
"hsl": {
"h": 216.216,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.40688,
"c": 0.12184,
"h": 258.9
},
"luminance": 0.06574
}Semantic roles & 50–950 ramp
primary
#1B478A
secondary
#BC8D45
accent
#A63EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F