#26157F#26157F
#26157F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.163 H 278.3°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).
Color values
| HEX | #26157F |
|---|---|
| RGB | rgb(38, 21, 127) |
| HSL | hsl(250, 72%, 29%) |
| HSV | hsv(250, 83%, 50%) |
| CMYK | cmyk(70.1%, 83.5%, 0%, 50.2%) |
| CIE-LAB | lab(17.83, 40.24, -55.92) |
| CIE-LCH | lch(17.83, 68.89, 305.74°) |
| OKLab | oklab(30.97% 0.0235 -0.1615) |
| OKLCH | oklch(30.97% 0.163 278.3) |
| XYZ | xyz(4.8970, 2.4803, 20.2952) |
| Luminance | 0.0248 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.25
Royal
#0C1793
ΔE00 3.41
Indigo (survey)
#380282
ΔE00 3.68
Navy
#000080
ΔE00 4.10
Darkblue
#00008B
ΔE00 4.12
Dark Royal Blue
#02066F
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26157F #6E7F15
analogous
#15397F #26157F #5B157F
triadic
#26157F #7F2615 #157F26
tetradic
#26157F #7F1539 #6E7F15 #157F5B
square
#26157F #7F1539 #6E7F15 #157F5B
split-complementary
#26157F #7F5B15 #397F15
monochromatic
#08041A #160C4A #26157F #361EB4 #4D31DD
Accessibility & contrast
On white
14.04
#26157F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#26157F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26157F
14.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26157F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26157F | 1.00 | 14.04 | 1.50 | 14.04 |
| #FFFFFF | 14.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #26157f; /* rgb */ color: rgb(38, 21, 127); /* oklch */ color: oklch(31.0% 0.163 278.3);
Tailwind
colors: {
custom: {
50: '#6f56a5',
500: '#26157f',
950: '#000000',
},
}SCSS
$custom: #26157f; $custom-light: #6f56a5; $custom-dark: #000000;
JSON
{
"hex": "#26157f",
"rgb": {
"r": 38,
"g": 21,
"b": 127
},
"hsl": {
"h": 249.623,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.30966,
"c": 0.16322,
"h": 278.3
},
"luminance": 0.02481
}Semantic roles & 50–950 ramp
primary
#26157F
secondary
#A1B43C
accent
#EE39D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F