#1B409E#1B409E
#1B409E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.159 H 264.2°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #1B409E |
|---|---|
| RGB | rgb(27, 64, 158) |
| HSL | hsl(223, 71%, 36%) |
| HSV | hsv(223, 83%, 62%) |
| CMYK | cmyk(82.9%, 59.5%, 0%, 38%) |
| CIE-LAB | lab(30.32, 23.54, -54.65) |
| CIE-LCH | lch(30.32, 59.50, 293.30°) |
| OKLab | oklab(40.79% -0.0162 -0.158) |
| OKLCH | oklch(40.79% 0.159 264.2) |
| XYZ | xyz(8.4547, 6.3674, 33.1245) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.08
Sapphire (survey)
#2138AB
ΔE00 3.86
Cobalt (survey)
#1E488F
ΔE00 4.05
Darkish Blue
#014182
ΔE00 5.44
Blue Blue
#2242C7
ΔE00 5.94
Blueberry
#464196
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B409E #9E791B
analogous
#1B829E #1B409E #371B9E
triadic
#1B409E #9E1B40 #409E1B
tetradic
#1B409E #9E1B82 #9E791B #1B9E37
square
#1B409E #9E1B82 #9E791B #1B9E37
split-complementary
#1B409E #9E371B #829E1B
monochromatic
#091635 #122B6A #1B409E #2455D2 #527AE1
Accessibility & contrast
On white
9.24
#1B409E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#1B409E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B409E
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B409E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B409E | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1b409e; /* rgb */ color: rgb(27, 64, 158); /* oklch */ color: oklch(40.8% 0.159 264.2);
Tailwind
colors: {
custom: {
50: '#6f74bb',
500: '#1b409e',
950: '#000000',
},
}SCSS
$custom: #1b409e; $custom-light: #6f74bb; $custom-dark: #000000;
JSON
{
"hex": "#1b409e",
"rgb": {
"r": 27,
"g": 64,
"b": 158
},
"hsl": {
"h": 223.053,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.40793,
"c": 0.1588,
"h": 264.2
},
"luminance": 0.06368
}Semantic roles & 50–950 ramp
primary
#1B409E
secondary
#C4A451
accent
#BB3AEE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81