#27319C#27319C
#27319C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.171 H 271.2°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).
Color values
| HEX | #27319C |
|---|---|
| RGB | rgb(39, 49, 156) |
| HSL | hsl(235, 60%, 38%) |
| HSV | hsv(235, 75%, 61%) |
| CMYK | cmyk(75%, 68.6%, 0%, 38.8%) |
| CIE-LAB | lab(26.81, 33.98, -59.15) |
| CIE-LCH | lch(26.81, 68.22, 299.87°) |
| OKLab | oklab(38.29% 0.0037 -0.1711) |
| OKLCH | oklch(38.29% 0.171 271.2) |
| XYZ | xyz(7.9337, 5.0274, 31.9983) |
| Luminance | 0.0503 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.83
Blueberry
#464196
ΔE00 5.90
Royal
#0C1793
ΔE00 6.42
Darkslateblue
#483D8B
ΔE00 6.52
Indigo Blue
#3A18B1
ΔE00 6.79
Blue Blue
#2242C7
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27319C #9C9227
analogous
#276B9C #27319C #57279C
triadic
#27319C #9C2731 #319C27
tetradic
#27319C #9C276B #9C9227 #279C57
square
#27319C #9C276B #9C9227 #279C57
split-complementary
#27319C #9C5727 #6B9C27
monochromatic
#0F123A #1B226B #27319C #3441CC #656FD8
Accessibility & contrast
On white
10.47
#27319C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#27319C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27319C
10.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27319C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27319C | 1.00 | 10.47 | 2.01 | 10.47 |
| #FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #27319c; /* rgb */ color: rgb(39, 49, 156); /* oklch */ color: oklch(38.3% 0.171 271.2);
Tailwind
colors: {
custom: {
50: '#7469ba',
500: '#27319c',
950: '#000000',
},
}SCSS
$custom: #27319c; $custom-light: #7469ba; $custom-dark: #000000;
JSON
{
"hex": "#27319c",
"rgb": {
"r": 39,
"g": 49,
"b": 156
},
"hsl": {
"h": 234.872,
"s": 60,
"l": 38.235
},
"oklch": {
"l": 0.38292,
"c": 0.17115,
"h": 271.2
},
"luminance": 0.05028
}Semantic roles & 50–950 ramp
primary
#27319C
secondary
#BEB661
accent
#D645E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81