#1B3EA7#1B3EA7
#1B3EA7 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.173 H 265.1°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3EA7 |
|---|---|
| RGB | rgb(27, 62, 167) |
| HSL | hsl(225, 72%, 38%) |
| HSV | hsv(225, 84%, 65%) |
| CMYK | cmyk(83.8%, 62.9%, 0%, 34.5%) |
| CIE-LAB | lab(30.56, 28.43, -59.68) |
| CIE-LCH | lch(30.56, 66.11, 295.47°) |
| OKLab | oklab(41.21% -0.0148 -0.1728) |
| OKLCH | oklch(41.21% 0.173 265.1) |
| XYZ | xyz(9.1472, 6.4672, 37.3179) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.35
Cobalt
#0047AB
ΔE00 3.66
Blue Blue
#2242C7
ΔE00 4.62
Cobalt (survey)
#1E488F
ΔE00 5.60
Blueberry
#464196
ΔE00 5.98
Ocean Blue
#4F42B5
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3EA7 #A7841B
analogous
#1B84A7 #1B3EA7 #3E1BA7
triadic
#1B3EA7 #A71B3E #3EA71B
tetradic
#1B3EA7 #A71B84 #A7841B #1BA73E
square
#1B3EA7 #A71B84 #A7841B #1BA73E
split-complementary
#1B3EA7 #A73E1B #84A71B
monochromatic
#0A173E #122A72 #1B3EA7 #2452DC #587BE4
Accessibility & contrast
On white
9.16
#1B3EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#1B3EA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3EA7
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3EA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3EA7 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1b3ea7; /* rgb */ color: rgb(27, 62, 167); /* oklch */ color: oklch(41.2% 0.173 265.1);
Tailwind
colors: {
custom: {
50: '#7272c2',
500: '#1b3ea7',
950: '#000000',
},
}SCSS
$custom: #1b3ea7; $custom-light: #7272c2; $custom-dark: #000000;
JSON
{
"hex": "#1b3ea7",
"rgb": {
"r": 27,
"g": 62,
"b": 167
},
"hsl": {
"h": 225,
"s": 72.165,
"l": 38.039
},
"oklch": {
"l": 0.41213,
"c": 0.17341,
"h": 265.1
},
"luminance": 0.06468
}Semantic roles & 50–950 ramp
primary
#1B3EA7
secondary
#C8AB56
accent
#C139EF
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#090812
muted
#7B7B81