#26228E#26228E
#26228E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.170 H 274.4°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).
Color values
| HEX | #26228E |
|---|---|
| RGB | rgb(38, 34, 142) |
| HSL | hsl(242, 61%, 35%) |
| HSV | hsv(242, 76%, 56%) |
| CMYK | cmyk(73.2%, 76.1%, 0%, 44.3%) |
| CIE-LAB | lab(21.98, 38.15, -58.50) |
| CIE-LCH | lch(21.98, 69.84, 303.11°) |
| OKLab | oklab(34.37% 0.013 -0.1692) |
| OKLCH | oklch(34.37% 0.17 274.4) |
| XYZ | xyz(6.2522, 3.5085, 25.9337) |
| Luminance | 0.0351 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.89
Midnight Blue
#191970
ΔE00 5.00
Cobalt Blue
#030AA7
ΔE00 5.28
Indigo Blue
#3A18B1
ΔE00 5.81
Royal Blue (survey)
#0504AA
ΔE00 5.85
Darkblue
#00008B
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26228E #8A8E22
analogous
#22548E #26228E #5C228E
triadic
#26228E #8E2622 #228E26
tetradic
#26228E #8E2254 #8A8E22 #228E5C
square
#26228E #8E2254 #8A8E22 #228E5C
split-complementary
#26228E #8E5C22 #548E22
monochromatic
#0C0A2B #19165D #26228E #332EBF #5954D6
Accessibility & contrast
On white
12.34
#26228E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#26228E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26228E
12.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26228E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26228E | 1.00 | 12.34 | 1.70 | 12.34 |
| #FFFFFF | 12.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00308C
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #26228e; /* rgb */ color: rgb(38, 34, 142); /* oklch */ color: oklch(34.4% 0.170 274.4);
Tailwind
colors: {
custom: {
50: '#715fb0',
500: '#26228e',
950: '#000000',
},
}SCSS
$custom: #26228e; $custom-light: #715fb0; $custom-dark: #000000;
JSON
{
"hex": "#26228e",
"rgb": {
"r": 38,
"g": 34,
"b": 142
},
"hsl": {
"h": 242.222,
"s": 61.364,
"l": 34.51
},
"oklch": {
"l": 0.34373,
"c": 0.16969,
"h": 274.4
},
"luminance": 0.03509
}Semantic roles & 50–950 ramp
primary
#26228E
secondary
#B6BA52
accent
#E443DF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980