#27319B#27319B
#27319B is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.170 H 271.3°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #27319B |
|---|---|
| RGB | rgb(39, 49, 155) |
| HSL | hsl(235, 60%, 38%) |
| HSV | hsv(235, 75%, 61%) |
| CMYK | cmyk(74.8%, 68.4%, 0%, 39.2%) |
| CIE-LAB | lab(26.72, 33.61, -58.70) |
| CIE-LCH | lch(26.72, 67.65, 299.80°) |
| OKLab | oklab(38.19% 0.0037 -0.1698) |
| OKLCH | oklch(38.19% 0.17 271.3) |
| XYZ | xyz(7.8494, 4.9937, 31.5542) |
| Luminance | 0.0500 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.92
Blueberry
#464196
ΔE00 5.87
Royal
#0C1793
ΔE00 6.42
Darkslateblue
#483D8B
ΔE00 6.46
Indigo Blue
#3A18B1
ΔE00 6.88
Ocean Blue
#4F42B5
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27319B #9B9127
analogous
#276B9B #27319B #57279B
triadic
#27319B #9B2731 #319B27
tetradic
#27319B #9B276B #9B9127 #279B57
square
#27319B #9B276B #9B9127 #279B57
split-complementary
#27319B #9B5727 #6B9B27
monochromatic
#0E1239 #1B226A #27319B #3341CC #646ED8
Accessibility & contrast
On white
10.51
#27319B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#27319B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27319B
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27319B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27319B | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #27319b; /* rgb */ color: rgb(39, 49, 155); /* oklch */ color: oklch(38.2% 0.170 271.3);
Tailwind
colors: {
custom: {
50: '#7469ba',
500: '#27319b',
950: '#000000',
},
}SCSS
$custom: #27319b; $custom-light: #7469ba; $custom-dark: #000000;
JSON
{
"hex": "#27319b",
"rgb": {
"r": 39,
"g": 49,
"b": 155
},
"hsl": {
"h": 234.828,
"s": 59.794,
"l": 38.039
},
"oklch": {
"l": 0.38193,
"c": 0.16983,
"h": 271.3
},
"luminance": 0.04995
}Semantic roles & 50–950 ramp
primary
#27319B
secondary
#BEB660
accent
#D545E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81