#3A3EA3#3A3EA3
#3A3EA3 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.4% C 0.160 H 275.5°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #3A3EA3 |
|---|---|
| RGB | rgb(58, 62, 163) |
| HSL | hsl(238, 48%, 43%) |
| HSV | hsv(238, 64%, 64%) |
| CMYK | cmyk(64.4%, 62%, 0%, 36.1%) |
| CIE-LAB | lab(31.78, 30.69, -55.22) |
| CIE-LCH | lch(31.78, 63.18, 299.06°) |
| OKLab | oklab(42.43% 0.0153 -0.159) |
| OKLCH | oklch(42.43% 0.16 275.5) |
| XYZ | xyz(10.0762, 6.9883, 35.4611) |
| Luminance | 0.0699 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.02
Blueberry
#464196
ΔE00 3.06
Ocean Blue
#4F42B5
ΔE00 4.18
Darkslateblue
#483D8B
ΔE00 4.95
Blue Blue
#2242C7
ΔE00 5.23
Cobalt
#0047AB
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A3EA3 #A39F3A
analogous
#3A72A3 #3A3EA3 #6A3AA3
triadic
#3A3EA3 #A33A3E #3EA33A
tetradic
#3A3EA3 #A33A72 #A39F3A #3AA36A
square
#3A3EA3 #A33A72 #A39F3A #3AA36A
split-complementary
#3A3EA3 #A36A3A #72A33A
monochromatic
#1A1C49 #2A2D76 #3A3EA3 #575BC3 #8487D3
Accessibility & contrast
On white
8.76
#3A3EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#3A3EA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A3EA3
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A3EA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A3EA3 | 1.00 | 8.76 | 2.40 | 8.76 |
| #FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#0046A1
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #3a3ea3; /* rgb */ color: rgb(58, 62, 163); /* oklch */ color: oklch(42.4% 0.160 275.5);
Tailwind
colors: {
custom: {
50: '#7c73bf',
500: '#3a3ea3',
950: '#000000',
},
}SCSS
$custom: #3a3ea3; $custom-light: #7c73bf; $custom-dark: #000000;
JSON
{
"hex": "#3a3ea3",
"rgb": {
"r": 58,
"g": 62,
"b": 163
},
"hsl": {
"h": 237.714,
"s": 47.511,
"l": 43.333
},
"oklch": {
"l": 0.4243,
"c": 0.15976,
"h": 275.5
},
"luminance": 0.06989
}Semantic roles & 50–950 ramp
primary
#3A3EA3
secondary
#BDBB7C
accent
#D251D7
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81