#1B3F9A#1B3F9A
#1B3F9A is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.155 H 264.2°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3F9A |
|---|---|
| RGB | rgb(27, 63, 154) |
| HSL | hsl(223, 70%, 35%) |
| HSV | hsv(223, 82%, 60%) |
| CMYK | cmyk(82.5%, 59.1%, 0%, 39.6%) |
| CIE-LAB | lab(29.71, 22.63, -53.21) |
| CIE-LCH | lch(29.71, 57.82, 293.04°) |
| OKLab | oklab(40.23% -0.0157 -0.1538) |
| OKLCH | oklch(40.23% 0.155 264.2) |
| XYZ | xyz(8.0602, 6.1202, 31.3221) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.53
Cobalt (survey)
#1E488F
ΔE00 3.97
Sapphire (survey)
#2138AB
ΔE00 4.08
Darkish Blue
#014182
ΔE00 5.11
Blueberry
#464196
ΔE00 6.11
Twilight Blue
#0A437A
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3F9A #9A761B
analogous
#1B7E9A #1B3F9A #361B9A
triadic
#1B3F9A #9A1B3F #3F9A1B
tetradic
#1B3F9A #9A1B7E #9A761B #1B9A36
square
#1B3F9A #9A1B7E #9A761B #1B9A36
split-complementary
#1B3F9A #9A361B #7E9A1B
monochromatic
#091432 #122A66 #1B3F9A #2454CE #4F78E0
Accessibility & contrast
On white
9.44
#1B3F9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#1B3F9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3F9A
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3F9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3F9A | 1.00 | 9.44 | 2.22 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1b3f9a; /* rgb */ color: rgb(27, 63, 154); /* oklch */ color: oklch(40.2% 0.155 264.2);
Tailwind
colors: {
custom: {
50: '#6e73b9',
500: '#1b3f9a',
950: '#000000',
},
}SCSS
$custom: #1b3f9a; $custom-light: #6e73b9; $custom-dark: #000000;
JSON
{
"hex": "#1b3f9a",
"rgb": {
"r": 27,
"g": 63,
"b": 154
},
"hsl": {
"h": 222.992,
"s": 70.166,
"l": 35.49
},
"oklch": {
"l": 0.40234,
"c": 0.15458,
"h": 264.2
},
"luminance": 0.06121
}Semantic roles & 50–950 ramp
primary
#1B3F9A
secondary
#C3A24E
accent
#BA3BED
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80