#3A3FA1#3A3FA1
#3A3FA1 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.4% C 0.156 H 275.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #3A3FA1 |
|---|---|
| RGB | rgb(58, 63, 161) |
| HSL | hsl(237, 47%, 43%) |
| HSV | hsv(237, 64%, 63%) |
| CMYK | cmyk(64%, 60.9%, 0%, 36.9%) |
| CIE-LAB | lab(31.87, 29.35, -53.87) |
| CIE-LCH | lch(31.87, 61.35, 298.58°) |
| OKLab | oklab(42.44% 0.0145 -0.155) |
| OKLCH | oklch(42.44% 0.156 275.3) |
| XYZ | xyz(9.9533, 7.0269, 34.5431) |
| Luminance | 0.0703 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.81
Sapphire (survey)
#2138AB
ΔE00 3.29
Ocean Blue
#4F42B5
ΔE00 4.42
Darkslateblue
#483D8B
ΔE00 4.76
Blue Blue
#2242C7
ΔE00 5.44
Cobalt
#0047AB
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A3FA1 #A19C3A
analogous
#3A73A1 #3A3FA1 #683AA1
triadic
#3A3FA1 #A13A3F #3FA13A
tetradic
#3A3FA1 #A13A73 #A19C3A #3AA168
square
#3A3FA1 #A13A73 #A19C3A #3AA168
split-complementary
#3A3FA1 #A1683A #73A13A
monochromatic
#1A1C47 #2A2D74 #3A3FA1 #565BC2 #8387D2
Accessibility & contrast
On white
8.73
#3A3FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#3A3FA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A3FA1
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A3FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A3FA1 | 1.00 | 8.73 | 2.41 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#00479F
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #3a3fa1; /* rgb */ color: rgb(58, 63, 161); /* oklch */ color: oklch(42.4% 0.156 275.3);
Tailwind
colors: {
custom: {
50: '#7c74be',
500: '#3a3fa1',
950: '#000000',
},
}SCSS
$custom: #3a3fa1; $custom-light: #7c74be; $custom-dark: #000000;
JSON
{
"hex": "#3a3fa1",
"rgb": {
"r": 58,
"g": 63,
"b": 161
},
"hsl": {
"h": 237.087,
"s": 47.032,
"l": 42.941
},
"oklch": {
"l": 0.42444,
"c": 0.15572,
"h": 275.3
},
"luminance": 0.07028
}Semantic roles & 50–950 ramp
primary
#3A3FA1
secondary
#BCB97B
accent
#D051D7
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0812
muted
#7C7B81