#27168F#27168F
#27168F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.181 H 276.2°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).
Color values
| HEX | #27168F |
|---|---|
| RGB | rgb(39, 22, 143) |
| HSL | hsl(248, 73%, 32%) |
| HSV | hsv(248, 85%, 56%) |
| CMYK | cmyk(72.7%, 84.6%, 0%, 43.9%) |
| CIE-LAB | lab(19.99, 44.82, -62.40) |
| CIE-LCH | lch(19.99, 76.82, 305.69°) |
| OKLab | oklab(33.04% 0.0195 -0.1803) |
| OKLCH | oklch(33.04% 0.181 276.2) |
| XYZ | xyz(6.0799, 2.9877, 26.2376) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.96
Cobalt Blue
#030AA7
ΔE00 3.68
Darkblue
#00008B
ΔE00 3.94
Indigo (survey)
#380282
ΔE00 4.06
Royal Blue (survey)
#0504AA
ΔE00 4.14
Navy
#000080
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27168F #7E8F16
analogous
#16418F #27168F #64168F
triadic
#27168F #8F2716 #168F27
tetradic
#27168F #8F1641 #7E8F16 #168F64
square
#27168F #8F1641 #7E8F16 #168F64
split-complementary
#27168F #8F6416 #418F16
monochromatic
#0A0625 #190E5A #27168F #351EC4 #553EE1
Accessibility & contrast
On white
13.14
#27168F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#27168F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27168F
13.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27168F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27168F | 1.00 | 13.14 | 1.60 | 13.14 |
| #FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.14 | 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: #27168f; /* rgb */ color: rgb(39, 22, 143); /* oklch */ color: oklch(33.0% 0.181 276.2);
Tailwind
colors: {
custom: {
50: '#7358b1',
500: '#27168f',
950: '#000000',
},
}SCSS
$custom: #27168f; $custom-light: #7358b1; $custom-dark: #000000;
JSON
{
"hex": "#27168f",
"rgb": {
"r": 39,
"g": 22,
"b": 143
},
"hsl": {
"h": 248.43,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.33042,
"c": 0.18139,
"h": 276.2
},
"luminance": 0.02988
}Semantic roles & 50–950 ramp
primary
#27168F
secondary
#AFC13F
accent
#F038D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980