#26318E#26318E
#26318E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.153 H 271.4°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #26318E |
|---|---|
| RGB | rgb(38, 49, 142) |
| HSL | hsl(234, 58%, 35%) |
| HSV | hsv(234, 73%, 56%) |
| CMYK | cmyk(73.2%, 65.5%, 0%, 44.3%) |
| CIE-LAB | lab(25.45, 28.70, -52.80) |
| CIE-LCH | lch(25.45, 60.09, 298.53°) |
| OKLab | oklab(36.88% 0.0037 -0.1525) |
| OKLCH | oklch(36.88% 0.153 271.4) |
| XYZ | xyz(6.7785, 4.5610, 26.1091) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.43
Blueberry
#464196
ΔE00 5.89
Darkslateblue
#483D8B
ΔE00 6.00
Royal
#0C1793
ΔE00 6.76
Midnight Blue
#191970
ΔE00 7.38
Indigo Blue
#3A18B1
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26318E #8E8326
analogous
#26658E #26318E #4F268E
triadic
#26318E #8E2631 #318E26
tetradic
#26318E #8E2665 #8E8326 #268E4F
square
#26318E #8E2665 #8E8326 #268E4F
split-complementary
#26318E #8E4F26 #658E26
monochromatic
#0C102D #19205E #26318E #3342BE #5B68D3
Accessibility & contrast
On white
10.98
#26318E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#26318E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26318E
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26318E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26318E | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #26318e; /* rgb */ color: rgb(38, 49, 142); /* oklch */ color: oklch(36.9% 0.153 271.4);
Tailwind
colors: {
custom: {
50: '#7069b0',
500: '#26318e',
950: '#000000',
},
}SCSS
$custom: #26318e; $custom-light: #7069b0; $custom-dark: #000000;
JSON
{
"hex": "#26318e",
"rgb": {
"r": 38,
"g": 49,
"b": 142
},
"hsl": {
"h": 233.654,
"s": 57.778,
"l": 35.294
},
"oklch": {
"l": 0.36877,
"c": 0.15256,
"h": 271.4
},
"luminance": 0.04562
}Semantic roles & 50–950 ramp
primary
#26318E
secondary
#B8AE58
accent
#D147E1
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80