#3A3BAC#3A3BAC
#3A3BAC is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.176 H 275.6°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #3A3BAC |
|---|---|
| RGB | rgb(58, 59, 172) |
| HSL | hsl(239, 50%, 45%) |
| HSV | hsv(239, 66%, 67%) |
| CMYK | cmyk(66.3%, 65.7%, 0%, 32.5%) |
| CIE-LAB | lab(31.82, 35.71, -60.56) |
| CIE-LCH | lch(31.82, 70.31, 300.52°) |
| OKLab | oklab(42.69% 0.0172 -0.1747) |
| OKLCH | oklch(42.69% 0.176 275.6) |
| XYZ | xyz(10.7528, 7.0051, 39.8072) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.63
Ocean Blue
#4F42B5
ΔE00 3.57
Blueberry
#464196
ΔE00 4.37
Blue Blue
#2242C7
ΔE00 4.50
Blue With A Hint Of Purple
#533CC6
ΔE00 5.18
Blurple
#5539CC
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A3BAC #ACAB3A
analogous
#3A74AC #3A3BAC #723AAC
triadic
#3A3BAC #AC3A3B #3BAC3A
tetradic
#3A3BAC #AC3A74 #ACAB3A #3AAC72
square
#3A3BAC #AC3A74 #ACAB3A #3AAC72
split-complementary
#3A3BAC #AC723A #74AC3A
monochromatic
#1B1C50 #2B2B7E #3A3BAC #5B5CC8 #898AD7
Accessibility & contrast
On white
8.75
#3A3BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#3A3BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A3BAC
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A3BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A3BAC | 1.00 | 8.75 | 2.40 | 8.75 |
| #FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0046AA
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #3a3bac; /* rgb */ color: rgb(58, 59, 172); /* oklch */ color: oklch(42.7% 0.176 275.6);
Tailwind
colors: {
custom: {
50: '#7e71c6',
500: '#3a3bac',
950: '#000000',
},
}SCSS
$custom: #3a3bac; $custom-light: #7e71c6; $custom-dark: #000000;
JSON
{
"hex": "#3a3bac",
"rgb": {
"r": 58,
"g": 59,
"b": 172
},
"hsl": {
"h": 239.474,
"s": 49.565,
"l": 45.098
},
"oklch": {
"l": 0.42694,
"c": 0.17556,
"h": 275.6
},
"luminance": 0.07006
}Semantic roles & 50–950 ramp
primary
#3A3BAC
secondary
#C2C180
accent
#D84FD9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82