#27219E#27219E
#27219E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.190 H 273.4°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #27219E |
|---|---|
| RGB | rgb(39, 33, 158) |
| HSL | hsl(243, 65%, 37%) |
| HSV | hsv(243, 79%, 62%) |
| CMYK | cmyk(75.3%, 79.1%, 0%, 38%) |
| CIE-LAB | lab(23.63, 44.12, -65.63) |
| CIE-LCH | lch(23.63, 79.08, 303.91°) |
| OKLab | oklab(36.08% 0.0113 -0.1899) |
| OKLCH | oklch(36.08% 0.19 273.4) |
| XYZ | xyz(7.5501, 3.9869, 32.7128) |
| Luminance | 0.0399 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.11
Indigo Blue
#3A18B1
ΔE00 3.70
Cobalt Blue
#030AA7
ΔE00 3.97
Royal Blue (survey)
#0504AA
ΔE00 4.47
Ultramarine
#2000B1
ΔE00 4.67
True Blue
#010FCC
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27219E #989E21
analogous
#215A9E #27219E #66219E
triadic
#27219E #9E2721 #219E27
tetradic
#27219E #9E215A #989E21 #219E66
square
#27219E #9E215A #989E21 #219E66
split-complementary
#27219E #9E6621 #5A9E21
monochromatic
#0E0C39 #1B166B #27219E #332CD1 #635CDD
Accessibility & contrast
On white
11.68
#27219E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#27219E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27219E
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27219E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27219E | 1.00 | 11.68 | 1.80 | 11.68 |
| #FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #27219e; /* rgb */ color: rgb(39, 33, 158); /* oklch */ color: oklch(36.1% 0.190 273.4);
Tailwind
colors: {
custom: {
50: '#765fbc',
500: '#27219e',
950: '#000000',
},
}SCSS
$custom: #27219e; $custom-light: #765fbc; $custom-dark: #000000;
JSON
{
"hex": "#27219e",
"rgb": {
"r": 39,
"g": 33,
"b": 158
},
"hsl": {
"h": 242.88,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.36081,
"c": 0.19022,
"h": 273.4
},
"luminance": 0.03988
}Semantic roles & 50–950 ramp
primary
#27219E
secondary
#BCC159
accent
#E83FE0
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981