#27319F#27319F
#27319F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.175 H 271.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #27319F |
|---|---|
| RGB | rgb(39, 49, 159) |
| HSL | hsl(235, 61%, 39%) |
| HSV | hsv(235, 75%, 62%) |
| CMYK | cmyk(75.5%, 69.2%, 0%, 37.6%) |
| CIE-LAB | lab(27.10, 35.06, -60.50) |
| CIE-LCH | lch(27.10, 69.93, 300.09°) |
| OKLab | oklab(38.59% 0.0033 -0.175) |
| OKLCH | oklch(38.59% 0.175 271.1) |
| XYZ | xyz(8.1909, 5.1303, 33.3527) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.58
Blueberry
#464196
ΔE00 5.99
Royal
#0C1793
ΔE00 6.46
Indigo Blue
#3A18B1
ΔE00 6.52
Darkslateblue
#483D8B
ΔE00 6.70
Blue Blue
#2242C7
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27319F #9F9527
analogous
#276D9F #27319F #59279F
triadic
#27319F #9F2731 #319F27
tetradic
#27319F #9F276D #9F9527 #279F59
square
#27319F #9F276D #9F9527 #279F59
split-complementary
#27319F #9F5927 #6D9F27
monochromatic
#0F133D #1B226E #27319F #3642CE #6770DA
Accessibility & contrast
On white
10.36
#27319F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#27319F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27319F
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27319F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27319F | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #27319f; /* rgb */ color: rgb(39, 49, 159); /* oklch */ color: oklch(38.6% 0.175 271.1);
Tailwind
colors: {
custom: {
50: '#7569bc',
500: '#27319f',
950: '#000000',
},
}SCSS
$custom: #27319f; $custom-light: #7569bc; $custom-dark: #000000;
JSON
{
"hex": "#27319f",
"rgb": {
"r": 39,
"g": 49,
"b": 159
},
"hsl": {
"h": 235,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.3859,
"c": 0.17508,
"h": 271.1
},
"luminance": 0.05131
}Semantic roles & 50–950 ramp
primary
#27319F
secondary
#C0B862
accent
#D644E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81