#27168E#27168E
#27168E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.180 H 276.3°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).
Color values
| HEX | #27168E |
|---|---|
| RGB | rgb(39, 22, 142) |
| HSL | hsl(249, 73%, 32%) |
| HSV | hsv(249, 85%, 56%) |
| CMYK | cmyk(72.5%, 84.5%, 0%, 44.3%) |
| CIE-LAB | lab(19.87, 44.51, -61.97) |
| CIE-LCH | lch(19.87, 76.30, 305.69°) |
| OKLab | oklab(32.92% 0.0199 -0.1791) |
| OKLCH | oklch(32.92% 0.18 276.3) |
| XYZ | xyz(6.0045, 2.9576, 25.8404) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.00
Cobalt Blue
#030AA7
ΔE00 3.80
Darkblue
#00008B
ΔE00 3.92
Indigo (survey)
#380282
ΔE00 4.00
Royal Blue (survey)
#0504AA
ΔE00 4.25
Navy
#000080
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27168E #7D8E16
analogous
#16418E #27168E #63168E
triadic
#27168E #8E2716 #168E27
tetradic
#27168E #8E1641 #7D8E16 #168E63
square
#27168E #8E1641 #7D8E16 #168E63
split-complementary
#27168E #8E6316 #418E16
monochromatic
#0A0624 #180E59 #27168E #361EC3 #553DE1
Accessibility & contrast
On white
13.19
#27168E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#27168E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27168E
13.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27168E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27168E | 1.00 | 13.19 | 1.59 | 13.19 |
| #FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003591
Deuteranopia (green-blind)
#002B8C
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #27168e; /* rgb */ color: rgb(39, 22, 142); /* oklch */ color: oklch(32.9% 0.180 276.3);
Tailwind
colors: {
custom: {
50: '#7358b0',
500: '#27168e',
950: '#000000',
},
}SCSS
$custom: #27168e; $custom-light: #7358b0; $custom-dark: #000000;
JSON
{
"hex": "#27168e",
"rgb": {
"r": 39,
"g": 22,
"b": 142
},
"hsl": {
"h": 248.5,
"s": 73.171,
"l": 32.157
},
"oklch": {
"l": 0.32923,
"c": 0.18021,
"h": 276.3
},
"luminance": 0.02958
}Semantic roles & 50–950 ramp
primary
#27168E
secondary
#AFC13F
accent
#F038D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880