#26138F#26138F
#26138F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.184 H 276.0°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).
Color values
| HEX | #26138F |
|---|---|
| RGB | rgb(38, 19, 143) |
| HSL | hsl(249, 77%, 32%) |
| HSV | hsv(249, 87%, 56%) |
| CMYK | cmyk(73.4%, 86.7%, 0%, 43.9%) |
| CIE-LAB | lab(19.48, 46.05, -63.26) |
| CIE-LCH | lch(19.48, 78.24, 306.05°) |
| OKLab | oklab(32.67% 0.0191 -0.1828) |
| OKLCH | oklch(32.67% 0.184 276) |
| XYZ | xyz(5.9885, 2.8604, 26.2178) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.04
Darkblue
#00008B
ΔE00 3.49
Cobalt Blue
#030AA7
ΔE00 3.49
Indigo (survey)
#380282
ΔE00 3.77
Royal Blue (survey)
#0504AA
ΔE00 3.91
Navy
#000080
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26138F #7C8F13
analogous
#133E8F #26138F #64138F
triadic
#26138F #8F2613 #138F26
tetradic
#26138F #8F133E #7C8F13 #138F64
square
#26138F #8F133E #7C8F13 #138F64
split-complementary
#26138F #8F6413 #3E8F13
monochromatic
#090523 #180C59 #26138F #341AC5 #5238E5
Accessibility & contrast
On white
13.36
#26138F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#26138F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26138F
13.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26138F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26138F | 1.00 | 13.36 | 1.57 | 13.36 |
| #FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#002A8D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #26138f; /* rgb */ color: rgb(38, 19, 143); /* oklch */ color: oklch(32.7% 0.184 276.0);
Tailwind
colors: {
custom: {
50: '#7357b1',
500: '#26138f',
950: '#000000',
},
}SCSS
$custom: #26138f; $custom-light: #7357b1; $custom-dark: #000000;
JSON
{
"hex": "#26138f",
"rgb": {
"r": 38,
"g": 19,
"b": 143
},
"hsl": {
"h": 249.194,
"s": 76.543,
"l": 31.765
},
"oklch": {
"l": 0.32666,
"c": 0.18379,
"h": 276
},
"luminance": 0.02861
}Semantic roles & 50–950 ramp
primary
#26138F
secondary
#AEC33B
accent
#F335D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880