#1B478C#1B478C
#1B478C is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.8% C 0.125 H 259.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #1B478C |
|---|---|
| RGB | rgb(27, 71, 140) |
| HSL | hsl(217, 68%, 33%) |
| HSV | hsv(217, 81%, 55%) |
| CMYK | cmyk(80.7%, 49.3%, 0%, 45.1%) |
| CIE-LAB | lab(30.95, 11.47, -42.64) |
| CIE-LCH | lch(30.95, 44.15, 285.06°) |
| OKLab | oklab(40.84% -0.0231 -0.1225) |
| OKLCH | oklch(40.84% 0.125 259.3) |
| XYZ | xyz(7.4371, 6.6321, 25.6940) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.58
Darkish Blue
#014182
ΔE00 2.61
Twilight Blue
#0A437A
ΔE00 3.21
Dusk Blue
#26538D
ΔE00 4.02
Cobalt
#0047AB
ΔE00 4.10
Prussian Blue
#004577
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B478C #8C601B
analogous
#1B808C #1B478C #271B8C
triadic
#1B478C #8C1B47 #478C1B
tetradic
#1B478C #8C1B80 #8C601B #1B8C27
square
#1B478C #8C1B80 #8C601B #1B8C27
split-complementary
#1B478C #8C271B #808C1B
monochromatic
#071325 #112D59 #1B478C #2561BF #4680DB
Accessibility & contrast
On white
9.03
#1B478C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#1B478C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B478C
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B478C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B478C | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204E8F
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1b478c; /* rgb */ color: rgb(27, 71, 140); /* oklch */ color: oklch(40.8% 0.125 259.3);
Tailwind
colors: {
custom: {
50: '#6a79ae',
500: '#1b478c',
950: '#000000',
},
}SCSS
$custom: #1b478c; $custom-light: #6a79ae; $custom-dark: #000000;
JSON
{
"hex": "#1b478c",
"rgb": {
"r": 27,
"g": 71,
"b": 140
},
"hsl": {
"h": 216.637,
"s": 67.665,
"l": 32.745
},
"oklch": {
"l": 0.40839,
"c": 0.12469,
"h": 259.3
},
"luminance": 0.06633
}Semantic roles & 50–950 ramp
primary
#1B478C
secondary
#BD8F46
accent
#A73DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F