#3A279C#3A279C
#3A279C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.178 H 281.2°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #3A279C |
|---|---|
| RGB | rgb(58, 39, 156) |
| HSL | hsl(250, 60%, 38%) |
| HSV | hsv(250, 75%, 61%) |
| CMYK | cmyk(62.8%, 75%, 0%, 38.8%) |
| CIE-LAB | lab(26.01, 42.24, -60.42) |
| CIE-LCH | lch(26.01, 73.73, 304.96°) |
| OKLab | oklab(38.07% 0.0347 -0.1743) |
| OKLCH | oklch(38.07% 0.178 281.2) |
| XYZ | xyz(8.4693, 4.7503, 31.9166) |
| Luminance | 0.0475 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.83
Royal
#0C1793
ΔE00 5.19
Cobalt Blue
#030AA7
ΔE00 5.98
Sapphire (survey)
#2138AB
ΔE00 6.00
Ultramarine
#2000B1
ΔE00 6.11
Royal Blue (survey)
#0504AA
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A279C #899C27
analogous
#274E9C #3A279C #74279C
triadic
#3A279C #9C3A27 #279C3A
tetradic
#3A279C #9C274E #899C27 #279C74
square
#3A279C #9C274E #899C27 #279C74
split-complementary
#3A279C #9C7427 #4E9C27
monochromatic
#160F3A #281B6B #3A279C #4D34CC #7865D8
Accessibility & contrast
On white
10.77
#3A279C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#3A279C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A279C
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A279C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A279C | 1.00 | 10.77 | 1.95 | 10.77 |
| #FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3a279c; /* rgb */ color: rgb(58, 39, 156); /* oklch */ color: oklch(38.1% 0.178 281.2);
Tailwind
colors: {
custom: {
50: '#7d64ba',
500: '#3a279c',
950: '#000000',
},
}SCSS
$custom: #3a279c; $custom-light: #7d64ba; $custom-dark: #000000;
JSON
{
"hex": "#3a279c",
"rgb": {
"r": 58,
"g": 39,
"b": 156
},
"hsl": {
"h": 249.744,
"s": 60,
"l": 38.235
},
"oklch": {
"l": 0.38068,
"c": 0.17769,
"h": 281.2
},
"luminance": 0.04751
}Semantic roles & 50–950 ramp
primary
#3A279C
secondary
#AFBE61
accent
#E345C9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81