#26159E#26159E
#26159E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.7% C 0.200 H 274.0°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).
Color values
| HEX | #26159E |
|---|---|
| RGB | rgb(38, 21, 158) |
| HSL | hsl(247, 77%, 35%) |
| HSV | hsv(247, 87%, 62%) |
| CMYK | cmyk(75.9%, 86.7%, 0%, 38%) |
| CIE-LAB | lab(21.64, 49.68, -68.93) |
| CIE-LCH | lch(21.64, 84.97, 305.78°) |
| OKLab | oklab(34.69% 0.0138 -0.1993) |
| OKLCH | oklch(34.69% 0.2 274) |
| XYZ | xyz(7.2370, 3.4163, 32.6191) |
| Luminance | 0.0342 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.22
Royal
#0C1793
ΔE00 2.50
Royal Blue (survey)
#0504AA
ΔE00 2.63
Ultramarine
#2000B1
ΔE00 2.97
Indigo Blue
#3A18B1
ΔE00 3.47
Darkblue
#00008B
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26159E #8D9E15
analogous
#15499E #26159E #6A159E
triadic
#26159E #9E2615 #159E26
tetradic
#26159E #9E1549 #8D9E15 #159E6A
square
#26159E #9E1549 #8D9E15 #159E6A
split-complementary
#26159E #9E6A15 #499E15
monochromatic
#0C0732 #190E68 #26159E #331CD4 #5B47E7
Accessibility & contrast
On white
12.47
#26159E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#26159E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26159E
12.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26159E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26159E | 1.00 | 12.47 | 1.68 | 12.47 |
| #FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003AA2
Deuteranopia (green-blind)
#002D9C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #26159e; /* rgb */ color: rgb(38, 21, 158); /* oklch */ color: oklch(34.7% 0.200 274.0);
Tailwind
colors: {
custom: {
50: '#7759bc',
500: '#26159e',
950: '#000000',
},
}SCSS
$custom: #26159e; $custom-light: #7759bc; $custom-dark: #000000;
JSON
{
"hex": "#26159e",
"rgb": {
"r": 38,
"g": 21,
"b": 158
},
"hsl": {
"h": 247.445,
"s": 76.536,
"l": 35.098
},
"oklch": {
"l": 0.34686,
"c": 0.19974,
"h": 274
},
"luminance": 0.03417
}Semantic roles & 50–950 ramp
primary
#26159E
secondary
#B8C747
accent
#F335DB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981