#26138E#26138E
#26138E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.5% C 0.183 H 276.1°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).
Color values
| HEX | #26138E |
|---|---|
| RGB | rgb(38, 19, 142) |
| HSL | hsl(249, 76%, 32%) |
| HSV | hsv(249, 87%, 56%) |
| CMYK | cmyk(73.2%, 86.6%, 0%, 44.3%) |
| CIE-LAB | lab(19.35, 45.75, -62.84) |
| CIE-LCH | lch(19.35, 77.73, 306.05°) |
| OKLab | oklab(32.54% 0.0194 -0.1816) |
| OKLCH | oklch(32.54% 0.183 276.1) |
| XYZ | xyz(5.9131, 2.8302, 25.8206) |
| Luminance | 0.0283 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.08
Darkblue
#00008B
ΔE00 3.46
Cobalt Blue
#030AA7
ΔE00 3.62
Indigo (survey)
#380282
ΔE00 3.71
Royal Blue (survey)
#0504AA
ΔE00 4.03
Navy
#000080
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26138E #7B8E13
analogous
#133E8E #26138E #64138E
triadic
#26138E #8E2613 #138E26
tetradic
#26138E #8E133E #7B8E13 #138E64
square
#26138E #8E133E #7B8E13 #138E64
split-complementary
#26138E #8E6413 #3E8E13
monochromatic
#090522 #180C58 #26138E #341AC4 #5237E4
Accessibility & contrast
On white
13.41
#26138E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#26138E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26138E
13.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26138E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26138E | 1.00 | 13.41 | 1.57 | 13.41 |
| #FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#00298C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #26138e; /* rgb */ color: rgb(38, 19, 142); /* oklch */ color: oklch(32.5% 0.183 276.1);
Tailwind
colors: {
custom: {
50: '#7357b0',
500: '#26138e',
950: '#000000',
},
}SCSS
$custom: #26138e; $custom-light: #7357b0; $custom-dark: #000000;
JSON
{
"hex": "#26138e",
"rgb": {
"r": 38,
"g": 19,
"b": 142
},
"hsl": {
"h": 249.268,
"s": 76.398,
"l": 31.569
},
"oklch": {
"l": 0.32544,
"c": 0.18263,
"h": 276.1
},
"luminance": 0.02831
}Semantic roles & 50–950 ramp
primary
#26138E
secondary
#ADC23B
accent
#F335D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880