#26318F#26318F
#26318F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.154 H 271.3°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).
Color values
| HEX | #26318F |
|---|---|
| RGB | rgb(38, 49, 143) |
| HSL | hsl(234, 58%, 35%) |
| HSV | hsv(234, 73%, 56%) |
| CMYK | cmyk(73.4%, 65.7%, 0%, 43.9%) |
| CIE-LAB | lab(25.54, 29.08, -53.26) |
| CIE-LCH | lch(25.54, 60.68, 298.63°) |
| OKLab | oklab(36.97% 0.0036 -0.1539) |
| OKLCH | oklch(36.97% 0.154 271.3) |
| XYZ | xyz(6.8539, 4.5912, 26.5063) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.29
Blueberry
#464196
ΔE00 5.87
Darkslateblue
#483D8B
ΔE00 6.02
Royal
#0C1793
ΔE00 6.71
Midnight Blue
#191970
ΔE00 7.44
Indigo Blue
#3A18B1
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26318F #8F8426
analogous
#26658F #26318F #4F268F
triadic
#26318F #8F2631 #318F26
tetradic
#26318F #8F2665 #8F8426 #268F4F
square
#26318F #8F2665 #8F8426 #268F4F
split-complementary
#26318F #8F4F26 #658F26
monochromatic
#0C102E #19205F #26318F #3342BF #5C68D4
Accessibility & contrast
On white
10.95
#26318F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#26318F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26318F
10.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26318F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26318F | 1.00 | 10.95 | 1.92 | 10.95 |
| #FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #26318f; /* rgb */ color: rgb(38, 49, 143); /* oklch */ color: oklch(37.0% 0.154 271.3);
Tailwind
colors: {
custom: {
50: '#7069b1',
500: '#26318f',
950: '#000000',
},
}SCSS
$custom: #26318f; $custom-light: #7069b1; $custom-dark: #000000;
JSON
{
"hex": "#26318f",
"rgb": {
"r": 38,
"g": 49,
"b": 143
},
"hsl": {
"h": 233.714,
"s": 58.011,
"l": 35.49
},
"oklch": {
"l": 0.36972,
"c": 0.15394,
"h": 271.3
},
"luminance": 0.04592
}Semantic roles & 50–950 ramp
primary
#26318F
secondary
#B9AE58
accent
#D147E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80