#1B3A9F#1B3A9F
#1B3A9F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.168 H 265.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3A9F |
|---|---|
| RGB | rgb(27, 58, 159) |
| HSL | hsl(226, 71%, 36%) |
| HSV | hsv(226, 83%, 62%) |
| CMYK | cmyk(83%, 63.5%, 0%, 37.6%) |
| CIE-LAB | lab(28.80, 28.01, -57.74) |
| CIE-LCH | lch(28.80, 64.17, 295.88°) |
| OKLab | oklab(39.69% -0.0126 -0.1671) |
| OKLCH | oklch(39.69% 0.168 265.7) |
| XYZ | xyz(8.2209, 5.7613, 33.4729) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.24
Cobalt
#0047AB
ΔE00 4.85
Blueberry
#464196
ΔE00 5.81
Blue Blue
#2242C7
ΔE00 5.89
Cobalt (survey)
#1E488F
ΔE00 6.02
Darkish Blue
#014182
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3A9F #9F801B
analogous
#1B7C9F #1B3A9F #3E1B9F
triadic
#1B3A9F #9F1B3A #3A9F1B
tetradic
#1B3A9F #9F1B7C #9F801B #1B9F3E
square
#1B3A9F #9F1B7C #9F801B #1B9F3E
split-complementary
#1B3A9F #9F3E1B #7C9F1B
monochromatic
#091436 #12276B #1B3A9F #244DD3 #5374E2
Accessibility & contrast
On white
9.76
#1B3A9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#1B3A9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3A9F
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3A9F | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #1b3a9f; /* rgb */ color: rgb(27, 58, 159); /* oklch */ color: oklch(39.7% 0.168 265.7);
Tailwind
colors: {
custom: {
50: '#706fbc',
500: '#1b3a9f',
950: '#000000',
},
}SCSS
$custom: #1b3a9f; $custom-light: #706fbc; $custom-dark: #000000;
JSON
{
"hex": "#1b3a9f",
"rgb": {
"r": 27,
"g": 58,
"b": 159
},
"hsl": {
"h": 225.909,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.39688,
"c": 0.16761,
"h": 265.7
},
"luminance": 0.05762
}Semantic roles & 50–950 ramp
primary
#1B3A9F
secondary
#C5A951
accent
#C43AEE
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81