#1B378E#1B378E
#1B378E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.148 H 265.8°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #1B378E |
|---|---|
| RGB | rgb(27, 55, 142) |
| HSL | hsl(225, 68%, 33%) |
| HSV | hsv(225, 81%, 56%) |
| CMYK | cmyk(81%, 61.3%, 0%, 44.3%) |
| CIE-LAB | lab(26.50, 23.35, -51.10) |
| CIE-LCH | lch(26.50, 56.18, 294.56°) |
| OKLab | oklab(37.51% -0.0109 -0.1477) |
| OKLCH | oklch(37.51% 0.148 265.8) |
| XYZ | xyz(6.6989, 4.9176, 26.1821) |
| Luminance | 0.0492 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.49
Darkish Blue
#014182
ΔE00 5.94
Cobalt (survey)
#1E488F
ΔE00 5.98
Blueberry
#464196
ΔE00 6.25
Cobalt
#0047AB
ΔE00 6.30
Darkslateblue
#483D8B
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B378E #8E721B
analogous
#1B708E #1B378E #381B8E
triadic
#1B378E #8E1B37 #378E1B
tetradic
#1B378E #8E1B70 #8E721B #1B8E38
square
#1B378E #8E1B70 #8E721B #1B8E38
split-complementary
#1B378E #8E381B #708E1B
monochromatic
#070F27 #11235B #1B378E #254BC1 #476CDC
Accessibility & contrast
On white
10.59
#1B378E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#1B378E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B378E
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B378E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B378E | 1.00 | 10.59 | 1.98 | 10.59 |
| #FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #1b378e; /* rgb */ color: rgb(27, 55, 142); /* oklch */ color: oklch(37.5% 0.148 265.8);
Tailwind
colors: {
custom: {
50: '#6c6db0',
500: '#1b378e',
950: '#000000',
},
}SCSS
$custom: #1b378e; $custom-light: #6c6db0; $custom-dark: #000000;
JSON
{
"hex": "#1b378e",
"rgb": {
"r": 27,
"g": 55,
"b": 142
},
"hsl": {
"h": 225.391,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.37511,
"c": 0.1481,
"h": 265.8
},
"luminance": 0.04918
}Semantic roles & 50–950 ramp
primary
#1B378E
secondary
#BEA147
accent
#C13DEB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080711
muted
#7B7A80