#26178F#26178F
#26178F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.1% C 0.181 H 275.6°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).
Color values
| HEX | #26178F |
|---|---|
| RGB | rgb(38, 23, 143) |
| HSL | hsl(248, 72%, 33%) |
| HSV | hsv(248, 84%, 56%) |
| CMYK | cmyk(73.4%, 83.9%, 0%, 43.9%) |
| CIE-LAB | lab(20.07, 44.28, -62.27) |
| CIE-LCH | lch(20.07, 76.41, 305.42°) |
| OKLab | oklab(33.08% 0.0177 -0.18) |
| OKLCH | oklch(33.08% 0.181 275.6) |
| XYZ | xyz(6.0620, 3.0074, 26.2423) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.83
Cobalt Blue
#030AA7
ΔE00 3.72
Darkblue
#00008B
ΔE00 4.04
Royal Blue (survey)
#0504AA
ΔE00 4.20
Indigo (survey)
#380282
ΔE00 4.26
Navy
#000080
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26178F #808F17
analogous
#17448F #26178F #62178F
triadic
#26178F #8F2617 #178F26
tetradic
#26178F #8F1744 #808F17 #178F62
square
#26178F #8F1744 #808F17 #178F62
split-complementary
#26178F #8F6217 #448F17
monochromatic
#0A0626 #180F5A #26178F #341FC4 #5440E0
Accessibility & contrast
On white
13.11
#26178F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#26178F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26178F
13.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26178F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26178F | 1.00 | 13.11 | 1.60 | 13.11 |
| #FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#002B8D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #26178f; /* rgb */ color: rgb(38, 23, 143); /* oklch */ color: oklch(33.1% 0.181 275.6);
Tailwind
colors: {
custom: {
50: '#7359b1',
500: '#26178f',
950: '#000000',
},
}SCSS
$custom: #26178f; $custom-light: #7359b1; $custom-dark: #000000;
JSON
{
"hex": "#26178f",
"rgb": {
"r": 38,
"g": 23,
"b": 143
},
"hsl": {
"h": 247.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.33077,
"c": 0.18087,
"h": 275.6
},
"luminance": 0.03008
}Semantic roles & 50–950 ramp
primary
#26178F
secondary
#B1C141
accent
#EF39D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980