#26318C#26318C
#26318C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.150 H 271.4°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #26318C |
|---|---|
| RGB | rgb(38, 49, 140) |
| HSL | hsl(234, 57%, 35%) |
| HSV | hsv(234, 73%, 55%) |
| CMYK | cmyk(72.9%, 65%, 0%, 45.1%) |
| CIE-LAB | lab(25.26, 27.96, -51.85) |
| CIE-LCH | lch(25.26, 58.91, 298.33°) |
| OKLab | oklab(36.69% 0.0038 -0.1498) |
| OKLCH | oklch(36.69% 0.15 271.4) |
| XYZ | xyz(6.6297, 4.5015, 25.3253) |
| Luminance | 0.0450 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.70
Blueberry
#464196
ΔE00 5.94
Darkslateblue
#483D8B
ΔE00 5.96
Royal
#0C1793
ΔE00 6.88
Midnight Blue
#191970
ΔE00 7.26
Cobalt (survey)
#1E488F
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26318C #8C8126
analogous
#26648C #26318C #4E268C
triadic
#26318C #8C2631 #318C26
tetradic
#26318C #8C2664 #8C8126 #268C4E
square
#26318C #8C2664 #8C8126 #268C4E
split-complementary
#26318C #8C4E26 #648C26
monochromatic
#0C0F2C #19205C #26318C #3342BC #5A67D2
Accessibility & contrast
On white
11.05
#26318C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#26318C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26318C
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26318C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26318C | 1.00 | 11.05 | 1.90 | 11.05 |
| #FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00418F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #26318c; /* rgb */ color: rgb(38, 49, 140); /* oklch */ color: oklch(36.7% 0.150 271.4);
Tailwind
colors: {
custom: {
50: '#7069ae',
500: '#26318c',
950: '#000000',
},
}SCSS
$custom: #26318c; $custom-light: #7069ae; $custom-dark: #000000;
JSON
{
"hex": "#26318c",
"rgb": {
"r": 38,
"g": 49,
"b": 140
},
"hsl": {
"h": 233.529,
"s": 57.303,
"l": 34.902
},
"oklch": {
"l": 0.36689,
"c": 0.14981,
"h": 271.4
},
"luminance": 0.04502
}Semantic roles & 50–950 ramp
primary
#26318C
secondary
#B7AD57
accent
#D047E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F