#3A3FAC#3A3FAC
#3A3FAC is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.4% C 0.171 H 274.7°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #3A3FAC |
|---|---|
| RGB | rgb(58, 63, 172) |
| HSL | hsl(237, 50%, 45%) |
| HSV | hsv(237, 66%, 67%) |
| CMYK | cmyk(66.3%, 63.4%, 0%, 32.5%) |
| CIE-LAB | lab(32.77, 33.19, -59.01) |
| CIE-LCH | lch(32.77, 67.70, 299.36°) |
| OKLab | oklab(43.39% 0.014 -0.1701) |
| OKLCH | oklch(43.39% 0.171 274.7) |
| XYZ | xyz(10.9664, 7.4322, 39.8784) |
| Luminance | 0.0743 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.93
Ocean Blue
#4F42B5
ΔE00 3.40
Blue Blue
#2242C7
ΔE00 4.03
Blueberry
#464196
ΔE00 4.04
Blue With A Hint Of Purple
#533CC6
ΔE00 5.44
Darkslateblue
#483D8B
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A3FAC #ACA73A
analogous
#3A78AC #3A3FAC #6E3AAC
triadic
#3A3FAC #AC3A3F #3FAC3A
tetradic
#3A3FAC #AC3A78 #ACA73A #3AAC6E
square
#3A3FAC #AC3A78 #ACA73A #3AAC6E
split-complementary
#3A3FAC #AC6E3A #78AC3A
monochromatic
#1B1D50 #2B2E7E #3A3FAC #5B60C8 #898DD7
Accessibility & contrast
On white
8.45
#3A3FAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#3A3FAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A3FAC
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A3FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A3FAC | 1.00 | 8.45 | 2.49 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #3a3fac; /* rgb */ color: rgb(58, 63, 172); /* oklch */ color: oklch(43.4% 0.171 274.7);
Tailwind
colors: {
custom: {
50: '#7e74c6',
500: '#3a3fac',
950: '#000000',
},
}SCSS
$custom: #3a3fac; $custom-light: #7e74c6; $custom-dark: #000000;
JSON
{
"hex": "#3a3fac",
"rgb": {
"r": 58,
"g": 63,
"b": 172
},
"hsl": {
"h": 237.368,
"s": 49.565,
"l": 45.098
},
"oklch": {
"l": 0.4339,
"c": 0.17071,
"h": 274.7
},
"luminance": 0.07433
}Semantic roles & 50–950 ramp
primary
#3A3FAC
secondary
#C2BF80
accent
#D34FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82