#3A3FB2#3A3FB2
#3A3FB2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.179 H 274.4°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #3A3FB2 |
|---|---|
| RGB | rgb(58, 63, 178) |
| HSL | hsl(238, 51%, 46%) |
| HSV | hsv(238, 67%, 70%) |
| CMYK | cmyk(67.4%, 64.6%, 0%, 30.2%) |
| CIE-LAB | lab(33.28, 35.28, -61.75) |
| CIE-LCH | lch(33.28, 71.11, 299.74°) |
| OKLab | oklab(43.92% 0.0136 -0.1782) |
| OKLCH | oklch(43.92% 0.179 274.4) |
| XYZ | xyz(11.5556, 7.6679, 42.9819) |
| Luminance | 0.0767 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.07
Sapphire (survey)
#2138AB
ΔE00 3.13
Blue Blue
#2242C7
ΔE00 3.38
Blueberry
#464196
ΔE00 4.78
Blue With A Hint Of Purple
#533CC6
ΔE00 4.79
Blurple
#5539CC
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A3FB2 #B2AD3A
analogous
#3A7BB2 #3A3FB2 #713AB2
triadic
#3A3FB2 #B23A3F #3FB23A
tetradic
#3A3FB2 #B23A7B #B2AD3A #3AB271
square
#3A3FB2 #B23A7B #B2AD3A #3AB271
split-complementary
#3A3FB2 #B2713A #7BB23A
monochromatic
#1C1E56 #2B2F84 #3A3FB2 #5F63CB #8D90DA
Accessibility & contrast
On white
8.29
#3A3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#3A3FB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A3FB2
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A3FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A3FB2 | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #3a3fb2; /* rgb */ color: rgb(58, 63, 178); /* oklch */ color: oklch(43.9% 0.179 274.4);
Tailwind
colors: {
custom: {
50: '#7f74ca',
500: '#3a3fb2',
950: '#000000',
},
}SCSS
$custom: #3a3fb2; $custom-light: #7f74ca; $custom-dark: #000000;
JSON
{
"hex": "#3a3fb2",
"rgb": {
"r": 58,
"g": 63,
"b": 178
},
"hsl": {
"h": 237.5,
"s": 50.847,
"l": 46.275
},
"oklch": {
"l": 0.43922,
"c": 0.17868,
"h": 274.4
},
"luminance": 0.07669
}Semantic roles & 50–950 ramp
primary
#3A3FB2
secondary
#C4C283
accent
#D44DDA
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82