#26158F#26158F
#26158F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.9% C 0.182 H 275.8°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).
Color values
| HEX | #26158F |
|---|---|
| RGB | rgb(38, 21, 143) |
| HSL | hsl(248, 74%, 32%) |
| HSV | hsv(248, 85%, 56%) |
| CMYK | cmyk(73.4%, 85.3%, 0%, 43.9%) |
| CIE-LAB | lab(19.77, 45.19, -62.78) |
| CIE-LCH | lch(19.77, 77.35, 305.75°) |
| OKLab | oklab(32.86% 0.0184 -0.1814) |
| OKLCH | oklch(32.86% 0.182 275.8) |
| XYZ | xyz(6.0238, 2.9310, 26.2296) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.91
Cobalt Blue
#030AA7
ΔE00 3.59
Darkblue
#00008B
ΔE00 3.75
Indigo (survey)
#380282
ΔE00 4.00
Royal Blue (survey)
#0504AA
ΔE00 4.03
Navy
#000080
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26158F #7E8F15
analogous
#15418F #26158F #63158F
triadic
#26158F #8F2615 #158F26
tetradic
#26158F #8F1541 #7E8F15 #158F63
square
#26158F #8F1541 #7E8F15 #158F63
split-complementary
#26158F #8F6315 #418F15
monochromatic
#0A0524 #180D5A #26158F #341DC4 #533CE2
Accessibility & contrast
On white
13.24
#26158F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#26158F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26158F
13.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26158F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26158F | 1.00 | 13.24 | 1.59 | 13.24 |
| #FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#002A8D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #26158f; /* rgb */ color: rgb(38, 21, 143); /* oklch */ color: oklch(32.9% 0.182 275.8);
Tailwind
colors: {
custom: {
50: '#7358b1',
500: '#26158f',
950: '#000000',
},
}SCSS
$custom: #26158f; $custom-light: #7358b1; $custom-dark: #000000;
JSON
{
"hex": "#26158f",
"rgb": {
"r": 38,
"g": 21,
"b": 143
},
"hsl": {
"h": 248.361,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.32864,
"c": 0.18237,
"h": 275.8
},
"luminance": 0.02932
}Semantic roles & 50–950 ramp
primary
#26158F
secondary
#B0C23E
accent
#F137D7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880