#1B388E#1B388E
#1B388E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.147 H 265.5°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #1B388E |
|---|---|
| RGB | rgb(27, 56, 142) |
| HSL | hsl(225, 68%, 33%) |
| HSV | hsv(225, 81%, 56%) |
| CMYK | cmyk(81%, 60.6%, 0%, 44.3%) |
| CIE-LAB | lab(26.77, 22.66, -50.65) |
| CIE-LCH | lch(26.77, 55.48, 294.10°) |
| OKLab | oklab(37.72% -0.0116 -0.1464) |
| OKLCH | oklch(37.72% 0.147 265.5) |
| XYZ | xyz(6.7469, 5.0136, 26.1981) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.57
Cobalt (survey)
#1E488F
ΔE00 5.63
Darkish Blue
#014182
ΔE00 5.64
Cobalt
#0047AB
ΔE00 6.04
Blueberry
#464196
ΔE00 6.24
Marine Blue
#01386A
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B388E #8E711B
analogous
#1B718E #1B388E #381B8E
triadic
#1B388E #8E1B38 #388E1B
tetradic
#1B388E #8E1B71 #8E711B #1B8E38
square
#1B388E #8E1B71 #8E711B #1B8E38
split-complementary
#1B388E #8E381B #718E1B
monochromatic
#070F27 #11245B #1B388E #254CC1 #476DDC
Accessibility & contrast
On white
10.49
#1B388E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#1B388E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B388E
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B388E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B388E | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #1b388e; /* rgb */ color: rgb(27, 56, 142); /* oklch */ color: oklch(37.7% 0.147 265.5);
Tailwind
colors: {
custom: {
50: '#6c6eb0',
500: '#1b388e',
950: '#000000',
},
}SCSS
$custom: #1b388e; $custom-light: #6c6eb0; $custom-dark: #000000;
JSON
{
"hex": "#1b388e",
"rgb": {
"r": 27,
"g": 56,
"b": 142
},
"hsl": {
"h": 224.87,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.37717,
"c": 0.14683,
"h": 265.5
},
"luminance": 0.05014
}Semantic roles & 50–950 ramp
primary
#1B388E
secondary
#BEA047
accent
#BF3DEB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080711
muted
#7B7A80