#26157C#26157C
#26157C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.160 H 278.8°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).
Color values
| HEX | #26157C |
|---|---|
| RGB | rgb(38, 21, 124) |
| HSL | hsl(250, 71%, 28%) |
| HSV | hsv(250, 83%, 49%) |
| CMYK | cmyk(69.4%, 83.1%, 0%, 51.4%) |
| CIE-LAB | lab(17.48, 39.29, -54.59) |
| CIE-LCH | lch(17.48, 67.26, 305.74°) |
| OKLab | oklab(30.62% 0.0244 -0.1577) |
| OKLCH | oklch(30.62% 0.16 278.8) |
| XYZ | xyz(4.7044, 2.4032, 19.2808) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.92
Indigo (survey)
#380282
ΔE00 3.79
Royal
#0C1793
ΔE00 3.81
Dark Royal Blue
#02066F
ΔE00 4.16
Navy
#000080
ΔE00 4.18
Deep Blue
#040273
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26157C #6B7C15
analogous
#15377C #26157C #59157C
triadic
#26157C #7C2615 #157C26
tetradic
#26157C #7C1537 #6B7C15 #157C59
square
#26157C #7C1537 #6B7C15 #157C59
split-complementary
#26157C #7C5915 #377C15
monochromatic
#08041A #160C48 #26157C #361EB0 #4C30DC
Accessibility & contrast
On white
14.18
#26157C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#26157C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26157C
14.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26157C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26157C | 1.00 | 14.18 | 1.48 | 14.18 |
| #FFFFFF | 14.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7F
Deuteranopia (green-blind)
#00277A
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #26157c; /* rgb */ color: rgb(38, 21, 124); /* oklch */ color: oklch(30.6% 0.160 278.8);
Tailwind
colors: {
custom: {
50: '#6e56a3',
500: '#26157c',
950: '#000000',
},
}SCSS
$custom: #26157c; $custom-light: #6e56a3; $custom-dark: #000000;
JSON
{
"hex": "#26157c",
"rgb": {
"r": 38,
"g": 21,
"b": 124
},
"hsl": {
"h": 249.903,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.30617,
"c": 0.15955,
"h": 278.8
},
"luminance": 0.02404
}Semantic roles & 50–950 ramp
primary
#26157C
secondary
#9EB13C
accent
#EE3AD0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F