#1B3E9E#1B3E9E
#1B3E9E is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.161 H 264.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3E9E |
|---|---|
| RGB | rgb(27, 62, 158) |
| HSL | hsl(224, 71%, 36%) |
| HSV | hsv(224, 83%, 62%) |
| CMYK | cmyk(82.9%, 60.8%, 0%, 38%) |
| CIE-LAB | lab(29.78, 24.90, -55.53) |
| CIE-LCH | lch(29.78, 60.86, 294.15°) |
| OKLab | oklab(40.39% -0.0149 -0.1606) |
| OKLCH | oklch(40.39% 0.161 264.7) |
| XYZ | xyz(8.3440, 6.1459, 33.0876) |
| Luminance | 0.0615 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.30
Cobalt
#0047AB
ΔE00 3.66
Cobalt (survey)
#1E488F
ΔE00 4.67
Darkish Blue
#014182
ΔE00 5.82
Blue Blue
#2242C7
ΔE00 5.90
Blueberry
#464196
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3E9E #9E7B1B
analogous
#1B809E #1B3E9E #391B9E
triadic
#1B3E9E #9E1B3E #3E9E1B
tetradic
#1B3E9E #9E1B80 #9E7B1B #1B9E39
square
#1B3E9E #9E1B80 #9E7B1B #1B9E39
split-complementary
#1B3E9E #9E391B #809E1B
monochromatic
#091535 #12296A #1B3E9E #2453D2 #5278E1
Accessibility & contrast
On white
9.42
#1B3E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#1B3E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3E9E
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3E9E | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1b3e9e; /* rgb */ color: rgb(27, 62, 158); /* oklch */ color: oklch(40.4% 0.161 264.7);
Tailwind
colors: {
custom: {
50: '#6f72bb',
500: '#1b3e9e',
950: '#000000',
},
}SCSS
$custom: #1b3e9e; $custom-light: #6f72bb; $custom-dark: #000000;
JSON
{
"hex": "#1b3e9e",
"rgb": {
"r": 27,
"g": 62,
"b": 158
},
"hsl": {
"h": 223.969,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.40386,
"c": 0.16131,
"h": 264.7
},
"luminance": 0.06147
}Semantic roles & 50–950 ramp
primary
#1B3E9E
secondary
#C4A551
accent
#BE3AEE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81