#26218E#26218E
#26218E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.171 H 274.6°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).
Color values
| HEX | #26218E |
|---|---|
| RGB | rgb(38, 33, 142) |
| HSL | hsl(243, 62%, 34%) |
| HSV | hsv(243, 77%, 56%) |
| CMYK | cmyk(73.2%, 76.8%, 0%, 44.3%) |
| CIE-LAB | lab(21.77, 38.73, -58.84) |
| CIE-LCH | lch(21.77, 70.44, 303.35°) |
| OKLab | oklab(34.23% 0.0136 -0.1702) |
| OKLCH | oklch(34.23% 0.171 274.6) |
| XYZ | xyz(6.2241, 3.4522, 25.9243) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.70
Midnight Blue
#191970
ΔE00 4.95
Cobalt Blue
#030AA7
ΔE00 5.10
Royal Blue (survey)
#0504AA
ΔE00 5.67
Indigo Blue
#3A18B1
ΔE00 5.72
Darkblue
#00008B
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26218E #898E21
analogous
#21538E #26218E #5D218E
triadic
#26218E #8E2621 #218E26
tetradic
#26218E #8E2153 #898E21 #218E5D
square
#26218E #8E2153 #898E21 #218E5D
split-complementary
#26218E #8E5D21 #538E21
monochromatic
#0B0A2B #19155C #26218E #332DC0 #5952D7
Accessibility & contrast
On white
12.42
#26218E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#26218E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26218E
12.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26218E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26218E | 1.00 | 12.42 | 1.69 | 12.42 |
| #FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003991
Deuteranopia (green-blind)
#002F8C
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #26218e; /* rgb */ color: rgb(38, 33, 142); /* oklch */ color: oklch(34.2% 0.171 274.6);
Tailwind
colors: {
custom: {
50: '#725eb0',
500: '#26218e',
950: '#000000',
},
}SCSS
$custom: #26218e; $custom-light: #725eb0; $custom-dark: #000000;
JSON
{
"hex": "#26218e",
"rgb": {
"r": 38,
"g": 33,
"b": 142
},
"hsl": {
"h": 242.752,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.34229,
"c": 0.1707,
"h": 274.6
},
"luminance": 0.03453
}Semantic roles & 50–950 ramp
primary
#26218E
secondary
#B6BA50
accent
#E542DE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980