#1B3A8E#1B3A8E
#1B3A8E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.1% C 0.144 H 264.8°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3A8E |
|---|---|
| RGB | rgb(27, 58, 142) |
| HSL | hsl(224, 68%, 33%) |
| HSV | hsv(224, 81%, 56%) |
| CMYK | cmyk(81%, 59.2%, 0%, 44.3%) |
| CIE-LAB | lab(27.33, 21.27, -49.74) |
| CIE-LCH | lch(27.33, 54.10, 293.15°) |
| OKLab | oklab(38.13% -0.013 -0.1437) |
| OKLCH | oklch(38.13% 0.144 264.8) |
| XYZ | xyz(6.8458, 5.2113, 26.2310) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.82
Cobalt (survey)
#1E488F
ΔE00 4.93
Darkish Blue
#014182
ΔE00 5.03
Cobalt
#0047AB
ΔE00 5.54
Twilight Blue
#0A437A
ΔE00 6.20
Blueberry
#464196
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3A8E #8E6F1B
analogous
#1B738E #1B3A8E #351B8E
triadic
#1B3A8E #8E1B3A #3A8E1B
tetradic
#1B3A8E #8E1B73 #8E6F1B #1B8E35
square
#1B3A8E #8E1B73 #8E6F1B #1B8E35
split-complementary
#1B3A8E #8E351B #738E1B
monochromatic
#071027 #11255B #1B3A8E #254FC1 #476FDC
Accessibility & contrast
On white
10.28
#1B3A8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#1B3A8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3A8E
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3A8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3A8E | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #1b3a8e; /* rgb */ color: rgb(27, 58, 142); /* oklch */ color: oklch(38.1% 0.144 264.8);
Tailwind
colors: {
custom: {
50: '#6b6fb0',
500: '#1b3a8e',
950: '#000000',
},
}SCSS
$custom: #1b3a8e; $custom-light: #6b6fb0; $custom-dark: #000000;
JSON
{
"hex": "#1b3a8e",
"rgb": {
"r": 27,
"g": 58,
"b": 142
},
"hsl": {
"h": 223.826,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.38132,
"c": 0.14426,
"h": 264.8
},
"luminance": 0.05212
}Semantic roles & 50–950 ramp
primary
#1B3A8E
secondary
#BE9E47
accent
#BC3DEB
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F