#1B378B#1B378B
#1B378B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.144 H 265.6°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #1B378B |
|---|---|
| RGB | rgb(27, 55, 139) |
| HSL | hsl(225, 67%, 33%) |
| HSV | hsv(225, 81%, 55%) |
| CMYK | cmyk(80.6%, 60.4%, 0%, 45.5%) |
| CIE-LAB | lab(26.24, 22.15, -49.66) |
| CIE-LCH | lch(26.24, 54.37, 294.04°) |
| OKLab | oklab(37.24% -0.011 -0.1435) |
| OKLCH | oklch(37.24% 0.144 265.6) |
| XYZ | xyz(6.4767, 4.8287, 25.0118) |
| Luminance | 0.0483 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.96
Darkish Blue
#014182
ΔE00 5.70
Cobalt (survey)
#1E488F
ΔE00 5.89
Blueberry
#464196
ΔE00 6.42
Cobalt
#0047AB
ΔE00 6.48
Marine Blue
#01386A
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B378B #8B6F1B
analogous
#1B6F8B #1B378B #371B8B
triadic
#1B378B #8B1B37 #378B1B
tetradic
#1B378B #8B1B6F #8B6F1B #1B8B37
square
#1B378B #8B1B6F #8B6F1B #1B8B37
split-complementary
#1B378B #8B371B #6F8B1B
monochromatic
#070E25 #112358 #1B378B #254BBE #456BDB
Accessibility & contrast
On white
10.68
#1B378B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#1B378B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B378B
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B378B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B378B | 1.00 | 10.68 | 1.97 | 10.68 |
| #FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1b378b; /* rgb */ color: rgb(27, 55, 139); /* oklch */ color: oklch(37.2% 0.144 265.6);
Tailwind
colors: {
custom: {
50: '#6b6dae',
500: '#1b378b',
950: '#000000',
},
}SCSS
$custom: #1b378b; $custom-light: #6b6dae; $custom-dark: #000000;
JSON
{
"hex": "#1b378b",
"rgb": {
"r": 27,
"g": 55,
"b": 139
},
"hsl": {
"h": 225,
"s": 67.47,
"l": 32.549
},
"oklch": {
"l": 0.37239,
"c": 0.1439,
"h": 265.6
},
"luminance": 0.04829
}Semantic roles & 50–950 ramp
primary
#1B378B
secondary
#BC9F45
accent
#BF3DEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F