#27318E#27318E
#27318E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.152 H 271.8°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).
Color values
| HEX | #27318E |
|---|---|
| RGB | rgb(39, 49, 142) |
| HSL | hsl(234, 57%, 35%) |
| HSV | hsv(234, 73%, 56%) |
| CMYK | cmyk(72.5%, 65.5%, 0%, 44.3%) |
| CIE-LAB | lab(25.50, 28.83, -52.70) |
| CIE-LCH | lch(25.50, 60.07, 298.68°) |
| OKLab | oklab(36.94% 0.0048 -0.1522) |
| OKLCH | oklch(36.94% 0.152 271.8) |
| XYZ | xyz(6.8158, 4.5803, 26.1108) |
| Luminance | 0.0458 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.44
Blueberry
#464196
ΔE00 5.82
Darkslateblue
#483D8B
ΔE00 5.91
Royal
#0C1793
ΔE00 6.75
Midnight Blue
#191970
ΔE00 7.37
Indigo Blue
#3A18B1
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27318E #8E8427
analogous
#27648E #27318E #50278E
triadic
#27318E #8E2731 #318E27
tetradic
#27318E #8E2764 #8E8427 #278E50
square
#27318E #8E2764 #8E8427 #278E50
split-complementary
#27318E #8E5027 #648E27
monochromatic
#0D102E #1A205E #27318E #3442BE #5D68D2
Accessibility & contrast
On white
10.96
#27318E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#27318E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27318E
10.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27318E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27318E | 1.00 | 10.96 | 1.92 | 10.96 |
| #FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #27318e; /* rgb */ color: rgb(39, 49, 142); /* oklch */ color: oklch(36.9% 0.152 271.8);
Tailwind
colors: {
custom: {
50: '#7069b0',
500: '#27318e',
950: '#000000',
},
}SCSS
$custom: #27318e; $custom-light: #7069b0; $custom-dark: #000000;
JSON
{
"hex": "#27318e",
"rgb": {
"r": 39,
"g": 49,
"b": 142
},
"hsl": {
"h": 234.175,
"s": 56.906,
"l": 35.49
},
"oklch": {
"l": 0.36936,
"c": 0.15228,
"h": 271.8
},
"luminance": 0.04581
}Semantic roles & 50–950 ramp
primary
#27318E
secondary
#B8AE59
accent
#D148E0
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80