#26177E#26177E
#26177E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.1% C 0.160 H 278.2°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).
Color values
| HEX | #26177E |
|---|---|
| RGB | rgb(38, 23, 126) |
| HSL | hsl(249, 69%, 29%) |
| HSV | hsv(249, 82%, 49%) |
| CMYK | cmyk(69.8%, 81.7%, 0%, 50.6%) |
| CIE-LAB | lab(18.06, 38.92, -54.91) |
| CIE-LCH | lch(18.06, 67.30, 305.33°) |
| OKLab | oklab(31.09% 0.0228 -0.1586) |
| OKLCH | oklch(31.09% 0.16 278.2) |
| XYZ | xyz(4.8704, 2.5308, 19.9664) |
| Luminance | 0.0253 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.93
Royal
#0C1793
ΔE00 3.51
Indigo (survey)
#380282
ΔE00 4.05
Navy
#000080
ΔE00 4.45
Darkblue
#00008B
ΔE00 4.51
Dark Royal Blue
#02066F
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26177E #6F7E17
analogous
#173C7E #26177E #5A177E
triadic
#26177E #7E2617 #177E26
tetradic
#26177E #7E173C #6F7E17 #177E5A
square
#26177E #7E173C #6F7E17 #177E5A
split-complementary
#26177E #7E5A17 #3C7E17
monochromatic
#08051A #160E4A #26177E #3620B2 #4D35DA
Accessibility & contrast
On white
13.94
#26177E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#26177E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26177E
13.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26177E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26177E | 1.00 | 13.94 | 1.51 | 13.94 |
| #FFFFFF | 13.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00287C
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #26177e; /* rgb */ color: rgb(38, 23, 126); /* oklch */ color: oklch(31.1% 0.160 278.2);
Tailwind
colors: {
custom: {
50: '#6f57a5',
500: '#26177e',
950: '#000000',
},
}SCSS
$custom: #26177e; $custom-light: #6f57a5; $custom-dark: #000000;
JSON
{
"hex": "#26177e",
"rgb": {
"r": 38,
"g": 23,
"b": 126
},
"hsl": {
"h": 248.738,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.3109,
"c": 0.16024,
"h": 278.2
},
"luminance": 0.02531
}Semantic roles & 50–950 ramp
primary
#26177E
secondary
#A2B33E
accent
#EC3CD2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F