#27188A#27188A
#27188A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.174 H 276.7°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).
Color values
| HEX | #27188A |
|---|---|
| RGB | rgb(39, 24, 138) |
| HSL | hsl(248, 70%, 32%) |
| HSV | hsv(248, 83%, 54%) |
| CMYK | cmyk(71.7%, 82.6%, 0%, 45.9%) |
| CIE-LAB | lab(19.72, 42.32, -59.73) |
| CIE-LCH | lch(19.72, 73.21, 305.32°) |
| OKLab | oklab(32.68% 0.0203 -0.1726) |
| OKLCH | oklch(32.68% 0.174 276.7) |
| XYZ | xyz(5.7493, 2.9190, 24.3003) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.21
Indigo (survey)
#380282
ΔE00 4.12
Darkblue
#00008B
ΔE00 4.21
Cobalt Blue
#030AA7
ΔE00 4.44
Midnight Blue
#191970
ΔE00 4.48
Navy
#000080
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27188A #7B8A18
analogous
#18428A #27188A #60188A
triadic
#27188A #8A2718 #188A27
tetradic
#27188A #8A1842 #7B8A18 #188A60
square
#27188A #8A1842 #7B8A18 #188A60
split-complementary
#27188A #8A6018 #428A18
monochromatic
#0A0622 #180F56 #27188A #3621BE #543FDE
Accessibility & contrast
On white
13.26
#27188A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#27188A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27188A
13.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27188A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27188A | 1.00 | 13.26 | 1.58 | 13.26 |
| #FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348D
Deuteranopia (green-blind)
#002B88
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #27188a; /* rgb */ color: rgb(39, 24, 138); /* oklch */ color: oklch(32.7% 0.174 276.7);
Tailwind
colors: {
custom: {
50: '#7259ad',
500: '#27188a',
950: '#000000',
},
}SCSS
$custom: #27188a; $custom-light: #7259ad; $custom-dark: #000000;
JSON
{
"hex": "#27188a",
"rgb": {
"r": 39,
"g": 24,
"b": 138
},
"hsl": {
"h": 247.895,
"s": 70.37,
"l": 31.765
},
"oklch": {
"l": 0.32676,
"c": 0.17381,
"h": 276.7
},
"luminance": 0.0292
}Semantic roles & 50–950 ramp
primary
#27188A
secondary
#ADBD40
accent
#ED3BD6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F