#1B1EA0#1B1EA0
#1B1EA0 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.198 H 269.4°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1EA0 |
|---|---|
| RGB | rgb(27, 30, 160) |
| HSL | hsl(239, 71%, 37%) |
| HSV | hsv(239, 83%, 63%) |
| CMYK | cmyk(83.1%, 81.3%, 0%, 37.3%) |
| CIE-LAB | lab(22.65, 45.55, -68.49) |
| CIE-LCH | lch(22.65, 82.25, 303.62°) |
| OKLab | oklab(35.28% -0.002 -0.1984) |
| OKLCH | oklch(35.28% 0.198 269.4) |
| XYZ | xyz(7.2593, 3.6988, 33.5822) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.48
Cobalt Blue
#030AA7
ΔE00 3.16
Royal Blue (survey)
#0504AA
ΔE00 3.71
Indigo Blue
#3A18B1
ΔE00 3.95
Ultramarine
#2000B1
ΔE00 4.17
True Blue
#010FCC
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1EA0 #A09D1B
analogous
#1B61A0 #1B1EA0 #5B1BA0
triadic
#1B1EA0 #A01B1E #1EA01B
tetradic
#1B1EA0 #A01B61 #A09D1B #1BA05B
square
#1B1EA0 #A01B61 #A09D1B #1BA05B
split-complementary
#1B1EA0 #A05B1B #61A01B
monochromatic
#090A37 #12146C #1B1EA0 #2428D4 #5357E2
Accessibility & contrast
On white
12.07
#1B1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#1B1EA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1EA0
12.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1EA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1EA0 | 1.00 | 12.07 | 1.74 | 12.07 |
| #FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#002F9E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1b1ea0; /* rgb */ color: rgb(27, 30, 160); /* oklch */ color: oklch(35.3% 0.198 269.4);
Tailwind
colors: {
custom: {
50: '#735dbe',
500: '#1b1ea0',
950: '#000000',
},
}SCSS
$custom: #1b1ea0; $custom-light: #735dbe; $custom-dark: #000000;
JSON
{
"hex": "#1b1ea0",
"rgb": {
"r": 27,
"g": 30,
"b": 160
},
"hsl": {
"h": 238.647,
"s": 71.123,
"l": 36.667
},
"oklch": {
"l": 0.35283,
"c": 0.19837,
"h": 269.4
},
"luminance": 0.037
}Semantic roles & 50–950 ramp
primary
#1B1EA0
secondary
#C5C252
accent
#EA3AEE
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981