#26318B#26318B
#26318B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.148 H 271.5°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).
Color values
| HEX | #26318B |
|---|---|
| RGB | rgb(38, 49, 139) |
| HSL | hsl(233, 57%, 35%) |
| HSV | hsv(233, 73%, 55%) |
| CMYK | cmyk(72.7%, 64.7%, 0%, 45.5%) |
| CIE-LAB | lab(25.17, 27.58, -51.38) |
| CIE-LCH | lch(25.17, 58.31, 298.23°) |
| OKLab | oklab(36.6% 0.0038 -0.1484) |
| OKLCH | oklch(36.6% 0.148 271.5) |
| XYZ | xyz(6.5563, 4.4721, 24.9388) |
| Luminance | 0.0447 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.84
Darkslateblue
#483D8B
ΔE00 5.95
Blueberry
#464196
ΔE00 5.96
Royal
#0C1793
ΔE00 6.94
Midnight Blue
#191970
ΔE00 7.20
Marine
#042E60
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26318B #8B8026
analogous
#26648B #26318B #4D268B
triadic
#26318B #8B2631 #318B26
tetradic
#26318B #8B2664 #8B8026 #268B4D
square
#26318B #8B2664 #8B8026 #268B4D
split-complementary
#26318B #8B4D26 #648B26
monochromatic
#0C0F2B #19205B #26318B #3342BB #5A67D2
Accessibility & contrast
On white
11.08
#26318B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#26318B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26318B
11.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26318B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26318B | 1.00 | 11.08 | 1.89 | 11.08 |
| #FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #26318b; /* rgb */ color: rgb(38, 49, 139); /* oklch */ color: oklch(36.6% 0.148 271.5);
Tailwind
colors: {
custom: {
50: '#6f69ae',
500: '#26318b',
950: '#000000',
},
}SCSS
$custom: #26318b; $custom-light: #6f69ae; $custom-dark: #000000;
JSON
{
"hex": "#26318b",
"rgb": {
"r": 38,
"g": 49,
"b": 139
},
"hsl": {
"h": 233.465,
"s": 57.062,
"l": 34.706
},
"oklch": {
"l": 0.36595,
"c": 0.14842,
"h": 271.5
},
"luminance": 0.04473
}Semantic roles & 50–950 ramp
primary
#26318B
secondary
#B7AC56
accent
#D047E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F