#1B3C9F#1B3C9F
#1B3C9F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.165 H 265.2°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3C9F |
|---|---|
| RGB | rgb(27, 60, 159) |
| HSL | hsl(225, 71%, 36%) |
| HSV | hsv(225, 83%, 62%) |
| CMYK | cmyk(83%, 62.3%, 0%, 37.6%) |
| CIE-LAB | lab(29.33, 26.66, -56.87) |
| CIE-LCH | lch(29.33, 62.81, 295.11°) |
| OKLab | oklab(40.08% -0.0137 -0.1646) |
| OKLCH | oklch(40.08% 0.165 265.2) |
| XYZ | xyz(8.3236, 5.9669, 33.5072) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.66
Cobalt
#0047AB
ΔE00 4.24
Cobalt (survey)
#1E488F
ΔE00 5.39
Blue Blue
#2242C7
ΔE00 5.78
Blueberry
#464196
ΔE00 5.82
Darkish Blue
#014182
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3C9F #9F7E1B
analogous
#1B7E9F #1B3C9F #3C1B9F
triadic
#1B3C9F #9F1B3C #3C9F1B
tetradic
#1B3C9F #9F1B7E #9F7E1B #1B9F3C
square
#1B3C9F #9F1B7E #9F7E1B #1B9F3C
split-complementary
#1B3C9F #9F3C1B #7E9F1B
monochromatic
#091536 #12286B #1B3C9F #2450D3 #5376E2
Accessibility & contrast
On white
9.57
#1B3C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#1B3C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3C9F
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3C9F | 1.00 | 9.57 | 2.19 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1b3c9f; /* rgb */ color: rgb(27, 60, 159); /* oklch */ color: oklch(40.1% 0.165 265.2);
Tailwind
colors: {
custom: {
50: '#7071bc',
500: '#1b3c9f',
950: '#000000',
},
}SCSS
$custom: #1b3c9f; $custom-light: #7071bc; $custom-dark: #000000;
JSON
{
"hex": "#1b3c9f",
"rgb": {
"r": 27,
"g": 60,
"b": 159
},
"hsl": {
"h": 225,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.40079,
"c": 0.16515,
"h": 265.2
},
"luminance": 0.05968
}Semantic roles & 50–950 ramp
primary
#1B3C9F
secondary
#C5A851
accent
#C13AEE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81