#26317E#26317E
#26317E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.130 H 271.8°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).
Color values
| HEX | #26317E |
|---|---|
| RGB | rgb(38, 49, 126) |
| HSL | hsl(233, 54%, 32%) |
| HSV | hsv(233, 70%, 49%) |
| CMYK | cmyk(69.8%, 61.1%, 0%, 50.6%) |
| CIE-LAB | lab(24.05, 22.66, -45.08) |
| CIE-LCH | lch(24.05, 50.46, 296.69°) |
| OKLab | oklab(35.41% 0.0042 -0.1299) |
| OKLCH | oklch(35.41% 0.13 271.8) |
| XYZ | xyz(5.6623, 4.1145, 20.2304) |
| Luminance | 0.0411 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.15
Blueberry
#464196
ΔE00 6.67
Marine
#042E60
ΔE00 6.76
Sapphire (survey)
#2138AB
ΔE00 6.78
Midnight Blue
#191970
ΔE00 6.87
Marine Blue
#01386A
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26317E #7E7326
analogous
#265D7E #26317E #47267E
triadic
#26317E #7E2631 #317E26
tetradic
#26317E #7E265D #7E7326 #267E47
square
#26317E #7E265D #7E7326 #267E47
split-complementary
#26317E #7E4726 #5D7E26
monochromatic
#0A0C20 #181F4F #26317E #3443AD #5362CB
Accessibility & contrast
On white
11.52
#26317E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#26317E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26317E
11.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26317E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26317E | 1.00 | 11.52 | 1.82 | 11.52 |
| #FFFFFF | 11.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #26317e; /* rgb */ color: rgb(38, 49, 126); /* oklch */ color: oklch(35.4% 0.130 271.8);
Tailwind
colors: {
custom: {
50: '#6c69a4',
500: '#26317e',
950: '#000000',
},
}SCSS
$custom: #26317e; $custom-light: #6c69a4; $custom-dark: #000000;
JSON
{
"hex": "#26317e",
"rgb": {
"r": 38,
"g": 49,
"b": 126
},
"hsl": {
"h": 232.5,
"s": 53.659,
"l": 32.157
},
"oklch": {
"l": 0.3541,
"c": 0.12995,
"h": 271.8
},
"luminance": 0.04115
}Semantic roles & 50–950 ramp
primary
#26317E
secondary
#B0A450
accent
#CB4BDD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F