#27219F#27219F
#27219F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.2% C 0.191 H 273.3°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).
Color values
| HEX | #27219F |
|---|---|
| RGB | rgb(39, 33, 159) |
| HSL | hsl(243, 66%, 38%) |
| HSV | hsv(243, 79%, 62%) |
| CMYK | cmyk(75.5%, 79.2%, 0%, 37.6%) |
| CIE-LAB | lab(23.74, 44.45, -66.05) |
| CIE-LCH | lch(23.74, 79.61, 303.94°) |
| OKLab | oklab(36.2% 0.0111 -0.1911) |
| OKLCH | oklch(36.2% 0.191 273.3) |
| XYZ | xyz(7.6365, 4.0215, 33.1679) |
| Luminance | 0.0402 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.19
Indigo Blue
#3A18B1
ΔE00 3.59
Cobalt Blue
#030AA7
ΔE00 3.94
Royal Blue (survey)
#0504AA
ΔE00 4.43
Ultramarine
#2000B1
ΔE00 4.60
True Blue
#010FCC
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27219F #999F21
analogous
#215A9F #27219F #66219F
triadic
#27219F #9F2721 #219F27
tetradic
#27219F #9F215A #999F21 #219F66
square
#27219F #9F215A #999F21 #219F66
split-complementary
#27219F #9F6621 #5A9F21
monochromatic
#0E0C3A #1B166C #27219F #332CD2 #635DDD
Accessibility & contrast
On white
11.64
#27219F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#27219F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27219F
11.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27219F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27219F | 1.00 | 11.64 | 1.80 | 11.64 |
| #FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #27219f; /* rgb */ color: rgb(39, 33, 159); /* oklch */ color: oklch(36.2% 0.191 273.3);
Tailwind
colors: {
custom: {
50: '#765fbd',
500: '#27219f',
950: '#000000',
},
}SCSS
$custom: #27219f; $custom-light: #765fbd; $custom-dark: #000000;
JSON
{
"hex": "#27219f",
"rgb": {
"r": 39,
"g": 33,
"b": 159
},
"hsl": {
"h": 242.857,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.36195,
"c": 0.19142,
"h": 273.3
},
"luminance": 0.04022
}Semantic roles & 50–950 ramp
primary
#27219F
secondary
#BDC25A
accent
#E93FE1
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981