#26218F#26218F
#26218F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.172 H 274.5°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).
Color values
| HEX | #26218F |
|---|---|
| RGB | rgb(38, 33, 143) |
| HSL | hsl(243, 63%, 35%) |
| HSV | hsv(243, 77%, 56%) |
| CMYK | cmyk(73.4%, 76.9%, 0%, 43.9%) |
| CIE-LAB | lab(21.88, 39.07, -59.28) |
| CIE-LCH | lch(21.88, 70.99, 303.39°) |
| OKLab | oklab(34.34% 0.0134 -0.1714) |
| OKLCH | oklch(34.34% 0.172 274.5) |
| XYZ | xyz(6.2995, 3.4823, 26.3214) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.66
Cobalt Blue
#030AA7
ΔE00 5.00
Midnight Blue
#191970
ΔE00 5.08
Royal Blue (survey)
#0504AA
ΔE00 5.56
Indigo Blue
#3A18B1
ΔE00 5.59
Darkblue
#00008B
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26218F #8A8F21
analogous
#21538F #26218F #5D218F
triadic
#26218F #8F2621 #218F26
tetradic
#26218F #8F2153 #8A8F21 #218F5D
square
#26218F #8F2153 #8A8F21 #218F5D
split-complementary
#26218F #8F5D21 #538F21
monochromatic
#0C0A2C #19165D #26218F #332CC1 #5953D7
Accessibility & contrast
On white
12.38
#26218F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#26218F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26218F
12.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26218F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26218F | 1.00 | 12.38 | 1.70 | 12.38 |
| #FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#002F8D
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #26218f; /* rgb */ color: rgb(38, 33, 143); /* oklch */ color: oklch(34.3% 0.172 274.5);
Tailwind
colors: {
custom: {
50: '#725eb1',
500: '#26218f',
950: '#000000',
},
}SCSS
$custom: #26218f; $custom-light: #725eb1; $custom-dark: #000000;
JSON
{
"hex": "#26218f",
"rgb": {
"r": 38,
"g": 33,
"b": 143
},
"hsl": {
"h": 242.727,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.34339,
"c": 0.17197,
"h": 274.5
},
"luminance": 0.03483
}Semantic roles & 50–950 ramp
primary
#26218F
secondary
#B6BB51
accent
#E642DE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980