#1B409F#1B409F
#1B409F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.160 H 264.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #1B409F |
|---|---|
| RGB | rgb(27, 64, 159) |
| HSL | hsl(223, 71%, 36%) |
| HSV | hsv(223, 83%, 62%) |
| CMYK | cmyk(83%, 59.7%, 0%, 37.6%) |
| CIE-LAB | lab(30.40, 23.94, -55.12) |
| CIE-LCH | lch(30.40, 60.09, 293.47°) |
| OKLab | oklab(40.88% -0.0161 -0.1594) |
| OKLCH | oklch(40.88% 0.16 264.2) |
| XYZ | xyz(8.5412, 6.4020, 33.5797) |
| Luminance | 0.0640 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.05
Sapphire (survey)
#2138AB
ΔE00 3.75
Cobalt (survey)
#1E488F
ΔE00 4.16
Darkish Blue
#014182
ΔE00 5.57
Blue Blue
#2242C7
ΔE00 5.79
Blueberry
#464196
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B409F #9F7A1B
analogous
#1B829F #1B409F #381B9F
triadic
#1B409F #9F1B40 #409F1B
tetradic
#1B409F #9F1B82 #9F7A1B #1B9F38
square
#1B409F #9F1B82 #9F7A1B #1B9F38
split-complementary
#1B409F #9F381B #829F1B
monochromatic
#091636 #122B6B #1B409F #2455D3 #537BE2
Accessibility & contrast
On white
9.21
#1B409F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#1B409F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B409F
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B409F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B409F | 1.00 | 9.21 | 2.28 | 9.21 |
| #FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1b409f; /* rgb */ color: rgb(27, 64, 159); /* oklch */ color: oklch(40.9% 0.160 264.2);
Tailwind
colors: {
custom: {
50: '#7074bc',
500: '#1b409f',
950: '#000000',
},
}SCSS
$custom: #1b409f; $custom-light: #7074bc; $custom-dark: #000000;
JSON
{
"hex": "#1b409f",
"rgb": {
"r": 27,
"g": 64,
"b": 159
},
"hsl": {
"h": 223.182,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.40882,
"c": 0.16017,
"h": 264.2
},
"luminance": 0.06403
}Semantic roles & 50–950 ramp
primary
#1B409F
secondary
#C5A451
accent
#BB3AEE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81