#1B478F#1B478F
#1B478F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.1% C 0.129 H 259.9°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #1B478F |
|---|---|
| RGB | rgb(27, 71, 143) |
| HSL | hsl(217, 68%, 33%) |
| HSV | hsv(217, 81%, 56%) |
| CMYK | cmyk(81.1%, 50.3%, 0%, 43.9%) |
| CIE-LAB | lab(31.16, 12.69, -44.14) |
| CIE-LCH | lch(31.16, 45.93, 286.04°) |
| OKLab | oklab(41.07% -0.0226 -0.1269) |
| OKLCH | oklch(41.07% 0.129 259.9) |
| XYZ | xyz(7.6614, 6.7218, 26.8749) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.35
Darkish Blue
#014182
ΔE00 2.90
Twilight Blue
#0A437A
ΔE00 3.59
Cobalt
#0047AB
ΔE00 3.70
Dusk Blue
#26538D
ΔE00 4.11
Prussian Blue
#004577
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B478F #8F631B
analogous
#1B818F #1B478F #291B8F
triadic
#1B478F #8F1B47 #478F1B
tetradic
#1B478F #8F1B81 #8F631B #1B8F29
square
#1B478F #8F1B81 #8F631B #1B8F29
split-complementary
#1B478F #8F291B #818F1B
monochromatic
#081428 #112D5C #1B478F #2561C2 #4880DC
Accessibility & contrast
On white
8.96
#1B478F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#1B478F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B478F
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B478F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B478F | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C4F92
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1b478f; /* rgb */ color: rgb(27, 71, 143); /* oklch */ color: oklch(41.1% 0.129 259.9);
Tailwind
colors: {
custom: {
50: '#6b79b0',
500: '#1b478f',
950: '#000000',
},
}SCSS
$custom: #1b478f; $custom-light: #6b79b0; $custom-dark: #000000;
JSON
{
"hex": "#1b478f",
"rgb": {
"r": 27,
"g": 71,
"b": 143
},
"hsl": {
"h": 217.241,
"s": 68.235,
"l": 33.333
},
"oklch": {
"l": 0.41068,
"c": 0.12895,
"h": 259.9
},
"luminance": 0.06723
}Semantic roles & 50–950 ramp
primary
#1B478F
secondary
#BE9148
accent
#A93DEB
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080910
muted
#7A7B7F