#1B478E#1B478E
#1B478E is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.0% C 0.128 H 259.7°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #1B478E |
|---|---|
| RGB | rgb(27, 71, 142) |
| HSL | hsl(217, 68%, 33%) |
| HSV | hsv(217, 81%, 56%) |
| CMYK | cmyk(81%, 50%, 0%, 44.3%) |
| CIE-LAB | lab(31.09, 12.28, -43.64) |
| CIE-LCH | lch(31.09, 45.33, 285.72°) |
| OKLab | oklab(40.99% -0.0228 -0.1255) |
| OKLCH | oklch(40.99% 0.128 259.7) |
| XYZ | xyz(7.5859, 6.6916, 26.4777) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.39
Darkish Blue
#014182
ΔE00 2.80
Twilight Blue
#0A437A
ΔE00 3.47
Cobalt
#0047AB
ΔE00 3.83
Dusk Blue
#26538D
ΔE00 4.08
Prussian Blue
#004577
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B478E #8E621B
analogous
#1B808E #1B478E #281B8E
triadic
#1B478E #8E1B47 #478E1B
tetradic
#1B478E #8E1B80 #8E621B #1B8E28
square
#1B478E #8E1B80 #8E621B #1B8E28
split-complementary
#1B478E #8E281B #808E1B
monochromatic
#071427 #112D5B #1B478E #2561C1 #4780DC
Accessibility & contrast
On white
8.98
#1B478E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#1B478E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B478E
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B478E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B478E | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D4F91
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1b478e; /* rgb */ color: rgb(27, 71, 142); /* oklch */ color: oklch(41.0% 0.128 259.7);
Tailwind
colors: {
custom: {
50: '#6b79b0',
500: '#1b478e',
950: '#000000',
},
}SCSS
$custom: #1b478e; $custom-light: #6b79b0; $custom-dark: #000000;
JSON
{
"hex": "#1b478e",
"rgb": {
"r": 27,
"g": 71,
"b": 142
},
"hsl": {
"h": 217.043,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.40991,
"c": 0.12753,
"h": 259.7
},
"luminance": 0.06692
}Semantic roles & 50–950 ramp
primary
#1B478E
secondary
#BE9047
accent
#A83DEB
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080910
muted
#7A7B7F