#27178E#27178E
#27178E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.179 H 276.2°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).
Color values
| HEX | #27178E |
|---|---|
| RGB | rgb(39, 23, 142) |
| HSL | hsl(248, 72%, 32%) |
| HSV | hsv(248, 84%, 56%) |
| CMYK | cmyk(72.5%, 83.8%, 0%, 44.3%) |
| CIE-LAB | lab(20.03, 44.05, -61.71) |
| CIE-LCH | lch(20.03, 75.82, 305.52°) |
| OKLab | oklab(33.03% 0.0195 -0.1784) |
| OKLCH | oklch(33.03% 0.179 276.2) |
| XYZ | xyz(6.0240, 2.9966, 25.8469) |
| Luminance | 0.0300 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.97
Cobalt Blue
#030AA7
ΔE00 3.87
Darkblue
#00008B
ΔE00 4.07
Indigo (survey)
#380282
ΔE00 4.14
Royal Blue (survey)
#0504AA
ΔE00 4.34
Navy
#000080
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27178E #7E8E17
analogous
#17438E #27178E #62178E
triadic
#27178E #8E2717 #178E27
tetradic
#27178E #8E1743 #7E8E17 #178E62
square
#27178E #8E1743 #7E8E17 #178E62
split-complementary
#27178E #8E6217 #438E17
monochromatic
#0A0625 #190E59 #27178E #3520C3 #553FE0
Accessibility & contrast
On white
13.13
#27178E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#27178E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27178E
13.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27178E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27178E | 1.00 | 13.13 | 1.60 | 13.13 |
| #FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003591
Deuteranopia (green-blind)
#002B8C
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #27178e; /* rgb */ color: rgb(39, 23, 142); /* oklch */ color: oklch(33.0% 0.179 276.2);
Tailwind
colors: {
custom: {
50: '#7359b0',
500: '#27178e',
950: '#000000',
},
}SCSS
$custom: #27178e; $custom-light: #7359b0; $custom-dark: #000000;
JSON
{
"hex": "#27178e",
"rgb": {
"r": 39,
"g": 23,
"b": 142
},
"hsl": {
"h": 248.067,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.33031,
"c": 0.17943,
"h": 276.2
},
"luminance": 0.02997
}Semantic roles & 50–950 ramp
primary
#27178E
secondary
#AFC040
accent
#EF39D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980