#3A3FB1#3A3FB1
#3A3FB1 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.8% C 0.177 H 274.4°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #3A3FB1 |
|---|---|
| RGB | rgb(58, 63, 177) |
| HSL | hsl(237, 51%, 46%) |
| HSV | hsv(237, 67%, 69%) |
| CMYK | cmyk(67.2%, 64.4%, 0%, 30.6%) |
| CIE-LAB | lab(33.20, 34.93, -61.29) |
| CIE-LCH | lch(33.20, 70.55, 299.68°) |
| OKLab | oklab(43.83% 0.0137 -0.1768) |
| OKLCH | oklch(43.83% 0.177 274.4) |
| XYZ | xyz(11.4556, 7.6279, 42.4551) |
| Luminance | 0.0763 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.08
Ocean Blue
#4F42B5
ΔE00 3.11
Blue Blue
#2242C7
ΔE00 3.48
Blueberry
#464196
ΔE00 4.65
Blue With A Hint Of Purple
#533CC6
ΔE00 4.89
Blurple
#5539CC
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A3FB1 #B1AC3A
analogous
#3A7AB1 #3A3FB1 #703AB1
triadic
#3A3FB1 #B13A3F #3FB13A
tetradic
#3A3FB1 #B13A7A #B1AC3A #3AB170
square
#3A3FB1 #B13A7A #B1AC3A #3AB170
split-complementary
#3A3FB1 #B1703A #7AB13A
monochromatic
#1C1E55 #2B2F83 #3A3FB1 #5E63CA #8C8FD9
Accessibility & contrast
On white
8.31
#3A3FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#3A3FB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A3FB1
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A3FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A3FB1 | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0049AF
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #3a3fb1; /* rgb */ color: rgb(58, 63, 177); /* oklch */ color: oklch(43.8% 0.177 274.4);
Tailwind
colors: {
custom: {
50: '#7f74c9',
500: '#3a3fb1',
950: '#000000',
},
}SCSS
$custom: #3a3fb1; $custom-light: #7f74c9; $custom-dark: #000000;
JSON
{
"hex": "#3a3fb1",
"rgb": {
"r": 58,
"g": 63,
"b": 177
},
"hsl": {
"h": 237.479,
"s": 50.638,
"l": 46.078
},
"oklch": {
"l": 0.43833,
"c": 0.17736,
"h": 274.4
},
"luminance": 0.07629
}Semantic roles & 50–950 ramp
primary
#3A3FB1
secondary
#C4C183
accent
#D44EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82