#1B3EA8#1B3EA8
#1B3EA8 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.175 H 265.1°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3EA8 |
|---|---|
| RGB | rgb(27, 62, 168) |
| HSL | hsl(225, 72%, 38%) |
| HSV | hsv(225, 84%, 66%) |
| CMYK | cmyk(83.9%, 63.1%, 0%, 34.1%) |
| CIE-LAB | lab(30.65, 28.82, -60.14) |
| CIE-LCH | lch(30.65, 66.69, 295.61°) |
| OKLab | oklab(41.31% -0.0148 -0.1741) |
| OKLCH | oklch(41.31% 0.175 265.1) |
| XYZ | xyz(9.2400, 6.5043, 37.8067) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.27
Cobalt
#0047AB
ΔE00 3.69
Blue Blue
#2242C7
ΔE00 4.48
Cobalt (survey)
#1E488F
ΔE00 5.71
Blueberry
#464196
ΔE00 6.00
Ocean Blue
#4F42B5
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3EA8 #A8851B
analogous
#1B85A8 #1B3EA8 #3E1BA8
triadic
#1B3EA8 #A81B3E #3EA81B
tetradic
#1B3EA8 #A81B85 #A8851B #1BA83E
square
#1B3EA8 #A81B85 #A8851B #1BA83E
split-complementary
#1B3EA8 #A83E1B #85A81B
monochromatic
#0A173F #132B73 #1B3EA8 #2452DC #597CE4
Accessibility & contrast
On white
9.13
#1B3EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#1B3EA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3EA8
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3EA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3EA8 | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1b3ea8; /* rgb */ color: rgb(27, 62, 168); /* oklch */ color: oklch(41.3% 0.175 265.1);
Tailwind
colors: {
custom: {
50: '#7272c3',
500: '#1b3ea8',
950: '#000000',
},
}SCSS
$custom: #1b3ea8; $custom-light: #7272c3; $custom-dark: #000000;
JSON
{
"hex": "#1b3ea8",
"rgb": {
"r": 27,
"g": 62,
"b": 168
},
"hsl": {
"h": 225.106,
"s": 72.308,
"l": 38.235
},
"oklch": {
"l": 0.41306,
"c": 0.17474,
"h": 265.1
},
"luminance": 0.06505
}Semantic roles & 50–950 ramp
primary
#1B3EA8
secondary
#C8AC57
accent
#C239EF
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#090813
muted
#7B7B82