#27168C#27168C
#27168C is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.178 H 276.6°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).
Color values
| HEX | #27168C |
|---|---|
| RGB | rgb(39, 22, 140) |
| HSL | hsl(249, 73%, 32%) |
| HSV | hsv(249, 84%, 55%) |
| CMYK | cmyk(72.1%, 84.3%, 0%, 45.1%) |
| CIE-LAB | lab(19.63, 43.89, -61.13) |
| CIE-LCH | lch(19.63, 75.26, 305.68°) |
| OKLab | oklab(32.69% 0.0205 -0.1766) |
| OKLCH | oklch(32.69% 0.178 276.6) |
| XYZ | xyz(5.8557, 2.8981, 25.0566) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.11
Darkblue
#00008B
ΔE00 3.90
Indigo (survey)
#380282
ΔE00 3.90
Cobalt Blue
#030AA7
ΔE00 4.05
Royal Blue (survey)
#0504AA
ΔE00 4.50
Navy
#000080
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27168C #7B8C16
analogous
#16408C #27168C #62168C
triadic
#27168C #8C2716 #168C27
tetradic
#27168C #8C1640 #7B8C16 #168C62
square
#27168C #8C1640 #7B8C16 #168C62
split-complementary
#27168C #8C6216 #408C16
monochromatic
#0A0522 #180E57 #27168C #361EC1 #543CE0
Accessibility & contrast
On white
13.29
#27168C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#27168C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27168C
13.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27168C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27168C | 1.00 | 13.29 | 1.58 | 13.29 |
| #FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348F
Deuteranopia (green-blind)
#002A8A
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #27168c; /* rgb */ color: rgb(39, 22, 140); /* oklch */ color: oklch(32.7% 0.178 276.6);
Tailwind
colors: {
custom: {
50: '#7258af',
500: '#27168c',
950: '#000000',
},
}SCSS
$custom: #27168c; $custom-light: #7258af; $custom-dark: #000000;
JSON
{
"hex": "#27168c",
"rgb": {
"r": 39,
"g": 22,
"b": 140
},
"hsl": {
"h": 248.644,
"s": 72.84,
"l": 31.765
},
"oklch": {
"l": 0.32686,
"c": 0.17783,
"h": 276.6
},
"luminance": 0.02899
}Semantic roles & 50–950 ramp
primary
#27168C
secondary
#ADC03E
accent
#F038D5
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#090311
muted
#7B7880