#27167F#27167F
#27167F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.2% C 0.162 H 278.7°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).
Color values
| HEX | #27167F |
|---|---|
| RGB | rgb(39, 22, 127) |
| HSL | hsl(250, 70%, 29%) |
| HSV | hsv(250, 83%, 50%) |
| CMYK | cmyk(69.3%, 82.7%, 0%, 50.2%) |
| CIE-LAB | lab(18.09, 39.84, -55.49) |
| CIE-LCH | lch(18.09, 68.31, 305.68°) |
| OKLab | oklab(31.17% 0.0245 -0.1603) |
| OKLCH | oklch(31.17% 0.162 278.7) |
| XYZ | xyz(4.9531, 2.5370, 20.3032) |
| Luminance | 0.0254 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.22
Royal
#0C1793
ΔE00 3.45
Indigo (survey)
#380282
ΔE00 3.76
Navy
#000080
ΔE00 4.32
Darkblue
#00008B
ΔE00 4.33
Dark Royal Blue
#02066F
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27167F #6E7F16
analogous
#163A7F #27167F #5C167F
triadic
#27167F #7F2716 #167F27
tetradic
#27167F #7F163A #6E7F16 #167F5C
square
#27167F #7F163A #6E7F16 #167F5C
split-complementary
#27167F #7F5C16 #3A7F16
monochromatic
#08051A #170D4B #27167F #371FB3 #4F34DC
Accessibility & contrast
On white
13.93
#27167F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#27167F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27167F
13.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27167F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27167F | 1.00 | 13.93 | 1.51 | 13.93 |
| #FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #27167f; /* rgb */ color: rgb(39, 22, 127); /* oklch */ color: oklch(31.2% 0.162 278.7);
Tailwind
colors: {
custom: {
50: '#6f57a5',
500: '#27167f',
950: '#000000',
},
}SCSS
$custom: #27167f; $custom-light: #6f57a5; $custom-dark: #000000;
JSON
{
"hex": "#27167f",
"rgb": {
"r": 39,
"g": 22,
"b": 127
},
"hsl": {
"h": 249.714,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.31165,
"c": 0.16214,
"h": 278.7
},
"luminance": 0.02537
}Semantic roles & 50–950 ramp
primary
#27167F
secondary
#A1B43D
accent
#ED3BD0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F