#26177F#26177F
#26177F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.161 H 278.0°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).
Color values
| HEX | #26177F |
|---|---|
| RGB | rgb(38, 23, 127) |
| HSL | hsl(249, 69%, 29%) |
| HSV | hsv(249, 82%, 50%) |
| CMYK | cmyk(70.1%, 81.9%, 0%, 50.2%) |
| CIE-LAB | lab(18.17, 39.24, -55.35) |
| CIE-LCH | lch(18.17, 67.85, 305.33°) |
| OKLab | oklab(31.21% 0.0225 -0.1599) |
| OKLCH | oklch(31.21% 0.161 278) |
| XYZ | xyz(4.9353, 2.5567, 20.3080) |
| Luminance | 0.0256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.06
Royal
#0C1793
ΔE00 3.38
Indigo (survey)
#380282
ΔE00 4.01
Navy
#000080
ΔE00 4.43
Darkblue
#00008B
ΔE00 4.44
Dark Royal Blue
#02066F
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26177F #707F17
analogous
#173C7F #26177F #5A177F
triadic
#26177F #7F2617 #177F26
tetradic
#26177F #7F173C #707F17 #177F5A
square
#26177F #7F173C #707F17 #177F5A
split-complementary
#26177F #7F5A17 #3C7F17
monochromatic
#08051A #160E4B #26177F #3620B3 #4E36DB
Accessibility & contrast
On white
13.89
#26177F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#26177F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26177F
13.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26177F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26177F | 1.00 | 13.89 | 1.51 | 13.89 |
| #FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #26177f; /* rgb */ color: rgb(38, 23, 127); /* oklch */ color: oklch(31.2% 0.161 278.0);
Tailwind
colors: {
custom: {
50: '#6f57a5',
500: '#26177f',
950: '#000000',
},
}SCSS
$custom: #26177f; $custom-light: #6f57a5; $custom-dark: #000000;
JSON
{
"hex": "#26177f",
"rgb": {
"r": 38,
"g": 23,
"b": 127
},
"hsl": {
"h": 248.654,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.31205,
"c": 0.16147,
"h": 278
},
"luminance": 0.02557
}Semantic roles & 50–950 ramp
primary
#26177F
secondary
#A3B43E
accent
#EC3CD3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F