#3A27A3#3A27A3
#3A27A3 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.186 H 280.2°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #3A27A3 |
|---|---|
| RGB | rgb(58, 39, 163) |
| HSL | hsl(249, 61%, 40%) |
| HSV | hsv(249, 76%, 64%) |
| CMYK | cmyk(64.4%, 76.1%, 0%, 36.1%) |
| CIE-LAB | lab(26.72, 44.43, -63.52) |
| CIE-LCH | lch(26.72, 77.52, 304.97°) |
| OKLab | oklab(38.78% 0.033 -0.1833) |
| OKLCH | oklch(38.78% 0.186 280.2) |
| XYZ | xyz(9.0792, 4.9942, 35.1288) |
| Luminance | 0.0500 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.15
Royal
#0C1793
ΔE00 5.51
Sapphire (survey)
#2138AB
ΔE00 5.71
Ultramarine
#2000B1
ΔE00 5.74
Cobalt Blue
#030AA7
ΔE00 5.82
True Blue
#010FCC
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A27A3 #90A327
analogous
#2752A3 #3A27A3 #7827A3
triadic
#3A27A3 #A33A27 #27A33A
tetradic
#3A27A3 #A32752 #90A327 #27A378
square
#3A27A3 #A32752 #90A327 #27A378
split-complementary
#3A27A3 #A37827 #52A327
monochromatic
#170F40 #281B72 #3A27A3 #4F38CF #7B69DB
Accessibility & contrast
On white
10.51
#3A27A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#3A27A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A27A3
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A27A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A27A3 | 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)
#0044A7
Deuteranopia (green-blind)
#003AA1
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3a27a3; /* rgb */ color: rgb(58, 39, 163); /* oklch */ color: oklch(38.8% 0.186 280.2);
Tailwind
colors: {
custom: {
50: '#7e64bf',
500: '#3a27a3',
950: '#000000',
},
}SCSS
$custom: #3a27a3; $custom-light: #7e64bf; $custom-dark: #000000;
JSON
{
"hex": "#3a27a3",
"rgb": {
"r": 58,
"g": 39,
"b": 163
},
"hsl": {
"h": 249.194,
"s": 61.386,
"l": 39.608
},
"oklch": {
"l": 0.3878,
"c": 0.18626,
"h": 280.2
},
"luminance": 0.04995
}Semantic roles & 50–950 ramp
primary
#3A27A3
secondary
#B3C164
accent
#E443CC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81