#1B1EA1#1B1EA1
#1B1EA1 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.4% C 0.200 H 269.4°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1EA1 |
|---|---|
| RGB | rgb(27, 30, 161) |
| HSL | hsl(239, 71%, 37%) |
| HSV | hsv(239, 83%, 63%) |
| CMYK | cmyk(83.2%, 81.4%, 0%, 36.9%) |
| CIE-LAB | lab(22.77, 45.87, -68.90) |
| CIE-LCH | lch(22.77, 82.77, 303.66°) |
| OKLab | oklab(35.4% -0.0022 -0.1995) |
| OKLCH | oklch(35.4% 0.2 269.4) |
| XYZ | xyz(7.3471, 3.7339, 34.0448) |
| Luminance | 0.0374 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.58
Cobalt Blue
#030AA7
ΔE00 3.13
Royal Blue (survey)
#0504AA
ΔE00 3.67
Indigo Blue
#3A18B1
ΔE00 3.85
Ultramarine
#2000B1
ΔE00 4.10
True Blue
#010FCC
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1EA1 #A19E1B
analogous
#1B61A1 #1B1EA1 #5B1BA1
triadic
#1B1EA1 #A11B1E #1EA11B
tetradic
#1B1EA1 #A11B61 #A19E1B #1BA15B
square
#1B1EA1 #A11B61 #A19E1B #1BA15B
split-complementary
#1B1EA1 #A15B1B #61A11B
monochromatic
#090A38 #12146D #1B1EA1 #2428D5 #5457E2
Accessibility & contrast
On white
12.02
#1B1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#1B1EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1EA1
12.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1EA1 | 1.00 | 12.02 | 1.75 | 12.02 |
| #FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#002F9F
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1b1ea1; /* rgb */ color: rgb(27, 30, 161); /* oklch */ color: oklch(35.4% 0.200 269.4);
Tailwind
colors: {
custom: {
50: '#735dbe',
500: '#1b1ea1',
950: '#000000',
},
}SCSS
$custom: #1b1ea1; $custom-light: #735dbe; $custom-dark: #000000;
JSON
{
"hex": "#1b1ea1",
"rgb": {
"r": 27,
"g": 30,
"b": 161
},
"hsl": {
"h": 238.657,
"s": 71.277,
"l": 36.863
},
"oklch": {
"l": 0.35404,
"c": 0.19955,
"h": 269.4
},
"luminance": 0.03735
}Semantic roles & 50–950 ramp
primary
#1B1EA1
secondary
#C5C352
accent
#EA3AEE
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981