#1B3F9F#1B3F9F
#1B3F9F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.161 H 264.5°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3F9F |
|---|---|
| RGB | rgb(27, 63, 159) |
| HSL | hsl(224, 71%, 36%) |
| HSV | hsv(224, 83%, 62%) |
| CMYK | cmyk(83%, 60.4%, 0%, 37.6%) |
| CIE-LAB | lab(30.13, 24.62, -55.56) |
| CIE-LCH | lch(30.13, 60.77, 293.90°) |
| OKLab | oklab(40.68% -0.0155 -0.1607) |
| OKLCH | oklch(40.68% 0.161 264.5) |
| XYZ | xyz(8.4853, 6.2902, 33.5611) |
| Luminance | 0.0629 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.34
Sapphire (survey)
#2138AB
ΔE00 3.46
Cobalt (survey)
#1E488F
ΔE00 4.46
Darkish Blue
#014182
ΔE00 5.75
Blue Blue
#2242C7
ΔE00 5.76
Blueberry
#464196
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3F9F #9F7B1B
analogous
#1B819F #1B3F9F #391B9F
triadic
#1B3F9F #9F1B3F #3F9F1B
tetradic
#1B3F9F #9F1B81 #9F7B1B #1B9F39
square
#1B3F9F #9F1B81 #9F7B1B #1B9F39
split-complementary
#1B3F9F #9F391B #819F1B
monochromatic
#091636 #122A6B #1B3F9F #2454D3 #537AE2
Accessibility & contrast
On white
9.30
#1B3F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#1B3F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3F9F
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3F9F | 1.00 | 9.30 | 2.26 | 9.30 |
| #FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1b3f9f; /* rgb */ color: rgb(27, 63, 159); /* oklch */ color: oklch(40.7% 0.161 264.5);
Tailwind
colors: {
custom: {
50: '#7073bc',
500: '#1b3f9f',
950: '#000000',
},
}SCSS
$custom: #1b3f9f; $custom-light: #7073bc; $custom-dark: #000000;
JSON
{
"hex": "#1b3f9f",
"rgb": {
"r": 27,
"g": 63,
"b": 159
},
"hsl": {
"h": 223.636,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.40679,
"c": 0.16143,
"h": 264.5
},
"luminance": 0.06291
}Semantic roles & 50–950 ramp
primary
#1B3F9F
secondary
#C5A551
accent
#BD3AEE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81