#1B388C#1B388C
#1B388C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.5% C 0.144 H 265.3°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #1B388C |
|---|---|
| RGB | rgb(27, 56, 140) |
| HSL | hsl(225, 68%, 33%) |
| HSV | hsv(225, 81%, 55%) |
| CMYK | cmyk(80.7%, 60%, 0%, 45.1%) |
| CIE-LAB | lab(26.60, 21.86, -49.69) |
| CIE-LCH | lch(26.60, 54.28, 293.75°) |
| OKLab | oklab(37.54% -0.0117 -0.1435) |
| OKLCH | oklch(37.54% 0.144 265.3) |
| XYZ | xyz(6.5981, 4.9540, 25.4143) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.89
Darkish Blue
#014182
ΔE00 5.47
Cobalt (survey)
#1E488F
ΔE00 5.57
Cobalt
#0047AB
ΔE00 6.17
Blueberry
#464196
ΔE00 6.36
Marine Blue
#01386A
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B388C #8C6F1B
analogous
#1B708C #1B388C #371B8C
triadic
#1B388C #8C1B38 #388C1B
tetradic
#1B388C #8C1B70 #8C6F1B #1B8C37
square
#1B388C #8C1B70 #8C6F1B #1B8C37
split-complementary
#1B388C #8C371B #708C1B
monochromatic
#070F25 #112359 #1B388C #254DBF #466CDB
Accessibility & contrast
On white
10.55
#1B388C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#1B388C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B388C
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B388C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B388C | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #1b388c; /* rgb */ color: rgb(27, 56, 140); /* oklch */ color: oklch(37.5% 0.144 265.3);
Tailwind
colors: {
custom: {
50: '#6b6eae',
500: '#1b388c',
950: '#000000',
},
}SCSS
$custom: #1b388c; $custom-light: #6b6eae; $custom-dark: #000000;
JSON
{
"hex": "#1b388c",
"rgb": {
"r": 27,
"g": 56,
"b": 140
},
"hsl": {
"h": 224.602,
"s": 67.665,
"l": 32.745
},
"oklch": {
"l": 0.37536,
"c": 0.14402,
"h": 265.3
},
"luminance": 0.04955
}Semantic roles & 50–950 ramp
primary
#1B388C
secondary
#BD9E46
accent
#BE3DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F