#27319E#27319E
#27319E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.174 H 271.1°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #27319E |
|---|---|
| RGB | rgb(39, 49, 158) |
| HSL | hsl(235, 60%, 39%) |
| HSV | hsv(235, 75%, 62%) |
| CMYK | cmyk(75.3%, 69%, 0%, 38%) |
| CIE-LAB | lab(27.01, 34.70, -60.06) |
| CIE-LCH | lch(27.01, 69.36, 300.02°) |
| OKLab | oklab(38.49% 0.0035 -0.1737) |
| OKLCH | oklch(38.49% 0.174 271.1) |
| XYZ | xyz(8.1045, 5.0957, 32.8976) |
| Luminance | 0.0510 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.66
Blueberry
#464196
ΔE00 5.96
Royal
#0C1793
ΔE00 6.44
Indigo Blue
#3A18B1
ΔE00 6.61
Darkslateblue
#483D8B
ΔE00 6.64
Blue Blue
#2242C7
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27319E #9E9427
analogous
#276C9E #27319E #58279E
triadic
#27319E #9E2731 #319E27
tetradic
#27319E #9E276C #9E9427 #279E58
square
#27319E #9E276C #9E9427 #279E58
split-complementary
#27319E #9E5827 #6C9E27
monochromatic
#0F133C #1B226D #27319E #3542CD #6670D9
Accessibility & contrast
On white
10.40
#27319E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#27319E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27319E
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27319E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27319E | 1.00 | 10.40 | 2.02 | 10.40 |
| #FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #27319e; /* rgb */ color: rgb(39, 49, 158); /* oklch */ color: oklch(38.5% 0.174 271.1);
Tailwind
colors: {
custom: {
50: '#7469bc',
500: '#27319e',
950: '#000000',
},
}SCSS
$custom: #27319e; $custom-light: #7469bc; $custom-dark: #000000;
JSON
{
"hex": "#27319e",
"rgb": {
"r": 39,
"g": 49,
"b": 158
},
"hsl": {
"h": 234.958,
"s": 60.406,
"l": 38.627
},
"oklch": {
"l": 0.3849,
"c": 0.17377,
"h": 271.1
},
"luminance": 0.05097
}Semantic roles & 50–950 ramp
primary
#27319E
secondary
#BFB762
accent
#D644E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81