#1B2EA0#1B2EA0
#1B2EA0 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.183 H 267.8°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2EA0 |
|---|---|
| RGB | rgb(27, 46, 160) |
| HSL | hsl(231, 71%, 37%) |
| HSV | hsv(231, 83%, 63%) |
| CMYK | cmyk(83.1%, 71.2%, 0%, 37.3%) |
| CIE-LAB | lab(25.93, 36.27, -63.06) |
| CIE-LCH | lch(25.93, 72.75, 299.91°) |
| OKLab | oklab(37.62% -0.0069 -0.1827) |
| OKLCH | oklch(37.62% 0.183 267.8) |
| XYZ | xyz(7.7720, 4.7241, 33.7531) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.06
Royal
#0C1793
ΔE00 5.71
Indigo Blue
#3A18B1
ΔE00 6.37
Cobalt Blue
#030AA7
ΔE00 7.01
Blueberry
#464196
ΔE00 7.11
Blue Blue
#2242C7
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2EA0 #A08D1B
analogous
#1B71A0 #1B2EA0 #4B1BA0
triadic
#1B2EA0 #A01B2E #2EA01B
tetradic
#1B2EA0 #A01B71 #A08D1B #1BA04B
square
#1B2EA0 #A01B71 #A08D1B #1BA04B
split-complementary
#1B2EA0 #A04B1B #71A01B
monochromatic
#091037 #121F6C #1B2EA0 #243DD4 #5368E2
Accessibility & contrast
On white
10.80
#1B2EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#1B2EA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2EA0
10.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2EA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2EA0 | 1.00 | 10.80 | 1.95 | 10.80 |
| #FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1b2ea0; /* rgb */ color: rgb(27, 46, 160); /* oklch */ color: oklch(37.6% 0.183 267.8);
Tailwind
colors: {
custom: {
50: '#7167bd',
500: '#1b2ea0',
950: '#000000',
},
}SCSS
$custom: #1b2ea0; $custom-light: #7167bd; $custom-dark: #000000;
JSON
{
"hex": "#1b2ea0",
"rgb": {
"r": 27,
"g": 46,
"b": 160
},
"hsl": {
"h": 231.429,
"s": 71.123,
"l": 36.667
},
"oklch": {
"l": 0.37618,
"c": 0.18287,
"h": 267.8
},
"luminance": 0.04725
}Semantic roles & 50–950 ramp
primary
#1B2EA0
secondary
#C5B552
accent
#D43AEE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81