#1B3C8E#1B3C8E
#1B3C8E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.142 H 264.2°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3C8E |
|---|---|
| RGB | rgb(27, 60, 142) |
| HSL | hsl(223, 68%, 33%) |
| HSV | hsv(223, 81%, 56%) |
| CMYK | cmyk(81%, 57.7%, 0%, 44.3%) |
| CIE-LAB | lab(27.89, 19.88, -48.83) |
| CIE-LCH | lch(27.89, 52.72, 292.16°) |
| OKLab | oklab(38.56% -0.0144 -0.141) |
| OKLCH | oklch(38.56% 0.142 264.2) |
| XYZ | xyz(6.9486, 5.4169, 26.2653) |
| Luminance | 0.0542 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.22
Darkish Blue
#014182
ΔE00 4.45
Cobalt
#0047AB
ΔE00 5.07
Sapphire (survey)
#2138AB
ΔE00 5.14
Twilight Blue
#0A437A
ΔE00 5.62
Marine Blue
#01386A
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3C8E #8E6D1B
analogous
#1B758E #1B3C8E #341B8E
triadic
#1B3C8E #8E1B3C #3C8E1B
tetradic
#1B3C8E #8E1B75 #8E6D1B #1B8E34
square
#1B3C8E #8E1B75 #8E6D1B #1B8E34
split-complementary
#1B3C8E #8E341B #758E1B
monochromatic
#071127 #11265B #1B3C8E #2552C1 #4772DC
Accessibility & contrast
On white
10.08
#1B3C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#1B3C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3C8E
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3C8E | 1.00 | 10.08 | 2.08 | 10.08 |
| #FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #1b3c8e; /* rgb */ color: rgb(27, 60, 142); /* oklch */ color: oklch(38.6% 0.142 264.2);
Tailwind
colors: {
custom: {
50: '#6b71b0',
500: '#1b3c8e',
950: '#000000',
},
}SCSS
$custom: #1b3c8e; $custom-light: #6b71b0; $custom-dark: #000000;
JSON
{
"hex": "#1b3c8e",
"rgb": {
"r": 27,
"g": 60,
"b": 142
},
"hsl": {
"h": 222.783,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.38555,
"c": 0.14169,
"h": 264.2
},
"luminance": 0.05418
}Semantic roles & 50–950 ramp
primary
#1B3C8E
secondary
#BE9C47
accent
#B93DEB
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F