#271588#271588
#271588 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.1% C 0.174 H 277.3°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).
Color values
| HEX | #271588 |
|---|---|
| RGB | rgb(39, 21, 136) |
| HSL | hsl(249, 73%, 31%) |
| HSV | hsv(249, 85%, 53%) |
| CMYK | cmyk(71.3%, 84.6%, 0%, 46.7%) |
| CIE-LAB | lab(18.99, 43.13, -59.68) |
| CIE-LCH | lch(18.99, 73.63, 305.85°) |
| OKLab | oklab(32.1% 0.0221 -0.1724) |
| OKLCH | oklch(32.1% 0.174 277.3) |
| XYZ | xyz(5.5474, 2.7447, 23.5252) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.46
Indigo (survey)
#380282
ΔE00 3.60
Darkblue
#00008B
ΔE00 3.77
Navy
#000080
ΔE00 4.25
Midnight Blue
#191970
ΔE00 4.40
Cobalt Blue
#030AA7
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#271588 #768815
analogous
#153D88 #271588 #601588
triadic
#271588 #882715 #158827
tetradic
#271588 #88153D #768815 #158860
square
#271588 #88153D #768815 #158860
split-complementary
#271588 #886015 #3D8815
monochromatic
#09051E #180D53 #271588 #361DBD #5237E0
Accessibility & contrast
On white
13.56
#271588 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#271588 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #271588
13.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##271588 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##271588 | 1.00 | 13.56 | 1.55 | 13.56 |
| #FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338B
Deuteranopia (green-blind)
#002986
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #271588; /* rgb */ color: rgb(39, 21, 136); /* oklch */ color: oklch(32.1% 0.174 277.3);
Tailwind
colors: {
custom: {
50: '#7257ac',
500: '#271588',
950: '#000000',
},
}SCSS
$custom: #271588; $custom-light: #7257ac; $custom-dark: #000000;
JSON
{
"hex": "#271588",
"rgb": {
"r": 39,
"g": 21,
"b": 136
},
"hsl": {
"h": 249.391,
"s": 73.248,
"l": 30.784
},
"oklch": {
"l": 0.32104,
"c": 0.17384,
"h": 277.3
},
"luminance": 0.02745
}Semantic roles & 50–950 ramp
primary
#271588
secondary
#A8BC3D
accent
#F038D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F