#1B159E#1B159E
#1B159E is a dark, highly saturated blue. Relative luminance 0.032; OKLCH L 34.0% C 0.203 H 270.0°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).
Color values
| HEX | #1B159E |
|---|---|
| RGB | rgb(27, 21, 158) |
| HSL | hsl(243, 77%, 35%) |
| HSV | hsv(243, 87%, 62%) |
| CMYK | cmyk(82.9%, 86.7%, 0%, 38%) |
| CIE-LAB | lab(20.97, 49.12, -70.06) |
| CIE-LCH | lch(20.97, 85.57, 305.04°) |
| OKLab | oklab(34.05% 0 -0.2027) |
| OKLCH | oklch(34.05% 0.203 270) |
| XYZ | xyz(6.8896, 3.2372, 32.6028) |
| Luminance | 0.0324 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 1.82
Royal
#0C1793
ΔE00 1.90
Royal Blue (survey)
#0504AA
ΔE00 2.37
Ultramarine
#2000B1
ΔE00 3.11
Indigo Blue
#3A18B1
ΔE00 4.05
Darkblue
#00008B
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B159E #989E15
analogous
#15539E #1B159E #60159E
triadic
#1B159E #9E1B15 #159E1B
tetradic
#1B159E #9E1553 #989E15 #159E60
square
#1B159E #9E1553 #989E15 #159E60
split-complementary
#1B159E #9E6015 #539E15
monochromatic
#090732 #120E68 #1B159E #241CD4 #4E47E7
Accessibility & contrast
On white
12.75
#1B159E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1B159E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B159E
12.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B159E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B159E | 1.00 | 12.75 | 1.65 | 12.75 |
| #FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0039A2
Deuteranopia (green-blind)
#002B9C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1b159e; /* rgb */ color: rgb(27, 21, 158); /* oklch */ color: oklch(34.0% 0.203 270.0);
Tailwind
colors: {
custom: {
50: '#7358bc',
500: '#1b159e',
950: '#000000',
},
}SCSS
$custom: #1b159e; $custom-light: #7358bc; $custom-dark: #000000;
JSON
{
"hex": "#1b159e",
"rgb": {
"r": 27,
"g": 21,
"b": 158
},
"hsl": {
"h": 242.628,
"s": 76.536,
"l": 35.098
},
"oklch": {
"l": 0.34049,
"c": 0.20271,
"h": 270
},
"luminance": 0.03238
}Semantic roles & 50–950 ramp
primary
#1B159E
secondary
#C2C747
accent
#F335EB
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981