#1B3A8F#1B3A8F
#1B3A8F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.146 H 264.9°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3A8F |
|---|---|
| RGB | rgb(27, 58, 143) |
| HSL | hsl(224, 68%, 33%) |
| HSV | hsv(224, 81%, 56%) |
| CMYK | cmyk(81.1%, 59.4%, 0%, 43.9%) |
| CIE-LAB | lab(27.41, 21.67, -50.22) |
| CIE-LCH | lch(27.41, 54.70, 293.34°) |
| OKLab | oklab(38.22% -0.0129 -0.1451) |
| OKLCH | oklch(38.22% 0.146 264.9) |
| XYZ | xyz(6.9212, 5.2415, 26.6282) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.66
Cobalt (survey)
#1E488F
ΔE00 4.97
Darkish Blue
#014182
ΔE00 5.13
Cobalt
#0047AB
ΔE00 5.47
Blueberry
#464196
ΔE00 6.23
Twilight Blue
#0A437A
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3A8F #8F701B
analogous
#1B748F #1B3A8F #361B8F
triadic
#1B3A8F #8F1B3A #3A8F1B
tetradic
#1B3A8F #8F1B74 #8F701B #1B8F36
square
#1B3A8F #8F1B74 #8F701B #1B8F36
split-complementary
#1B3A8F #8F361B #748F1B
monochromatic
#081028 #11255C #1B3A8F #254FC2 #4870DC
Accessibility & contrast
On white
10.25
#1B3A8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#1B3A8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3A8F
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3A8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3A8F | 1.00 | 10.25 | 2.05 | 10.25 |
| #FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #1b3a8f; /* rgb */ color: rgb(27, 58, 143); /* oklch */ color: oklch(38.2% 0.146 264.9);
Tailwind
colors: {
custom: {
50: '#6c6fb1',
500: '#1b3a8f',
950: '#000000',
},
}SCSS
$custom: #1b3a8f; $custom-light: #6c6fb1; $custom-dark: #000000;
JSON
{
"hex": "#1b3a8f",
"rgb": {
"r": 27,
"g": 58,
"b": 143
},
"hsl": {
"h": 223.966,
"s": 68.235,
"l": 33.333
},
"oklch": {
"l": 0.38221,
"c": 0.14567,
"h": 264.9
},
"luminance": 0.05242
}Semantic roles & 50–950 ramp
primary
#1B3A8F
secondary
#BE9E48
accent
#BC3DEB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80