#3A3FA3#3A3FA3
#3A3FA3 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.158 H 275.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #3A3FA3 |
|---|---|
| RGB | rgb(58, 63, 163) |
| HSL | hsl(237, 48%, 43%) |
| HSV | hsv(237, 64%, 64%) |
| CMYK | cmyk(64.4%, 61.3%, 0%, 36.1%) |
| CIE-LAB | lab(32.03, 30.05, -54.82) |
| CIE-LCH | lch(32.03, 62.51, 298.73°) |
| OKLab | oklab(42.61% 0.0144 -0.1578) |
| OKLCH | oklch(42.61% 0.158 275.2) |
| XYZ | xyz(10.1311, 7.0981, 35.4794) |
| Luminance | 0.0710 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.01
Sapphire (survey)
#2138AB
ΔE00 3.15
Ocean Blue
#4F42B5
ΔE00 4.20
Darkslateblue
#483D8B
ΔE00 4.99
Blue Blue
#2242C7
ΔE00 5.17
Cobalt
#0047AB
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A3FA3 #A39E3A
analogous
#3A73A3 #3A3FA3 #693AA3
triadic
#3A3FA3 #A33A3F #3FA33A
tetradic
#3A3FA3 #A33A73 #A39E3A #3AA369
square
#3A3FA3 #A33A73 #A39E3A #3AA369
split-complementary
#3A3FA3 #A3693A #73A33A
monochromatic
#1A1C49 #2A2E76 #3A3FA3 #575CC3 #8488D3
Accessibility & contrast
On white
8.68
#3A3FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#3A3FA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A3FA3
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A3FA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A3FA3 | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #3a3fa3; /* rgb */ color: rgb(58, 63, 163); /* oklch */ color: oklch(42.6% 0.158 275.2);
Tailwind
colors: {
custom: {
50: '#7c74bf',
500: '#3a3fa3',
950: '#000000',
},
}SCSS
$custom: #3a3fa3; $custom-light: #7c74bf; $custom-dark: #000000;
JSON
{
"hex": "#3a3fa3",
"rgb": {
"r": 58,
"g": 63,
"b": 163
},
"hsl": {
"h": 237.143,
"s": 47.511,
"l": 43.333
},
"oklch": {
"l": 0.42613,
"c": 0.15849,
"h": 275.2
},
"luminance": 0.07099
}Semantic roles & 50–950 ramp
primary
#3A3FA3
secondary
#BDBA7C
accent
#D151D7
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81