#3A3EB2#3A3EB2
#3A3EB2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.180 H 274.6°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #3A3EB2 |
|---|---|
| RGB | rgb(58, 62, 178) |
| HSL | hsl(238, 51%, 46%) |
| HSV | hsv(238, 67%, 70%) |
| CMYK | cmyk(67.4%, 65.2%, 0%, 30.2%) |
| CIE-LAB | lab(33.05, 35.90, -62.13) |
| CIE-LCH | lch(33.05, 71.76, 300.02°) |
| OKLab | oklab(43.75% 0.0144 -0.1793) |
| OKLCH | oklch(43.75% 0.18 274.6) |
| XYZ | xyz(11.5008, 7.5581, 42.9636) |
| Luminance | 0.0756 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.03
Ocean Blue
#4F42B5
ΔE00 3.09
Blue Blue
#2242C7
ΔE00 3.49
Blue With A Hint Of Purple
#533CC6
ΔE00 4.70
Blueberry
#464196
ΔE00 4.82
Blurple
#5539CC
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A3EB2 #B2AE3A
analogous
#3A7AB2 #3A3EB2 #723AB2
triadic
#3A3EB2 #B23A3E #3EB23A
tetradic
#3A3EB2 #B23A7A #B2AE3A #3AB272
square
#3A3EB2 #B23A7A #B2AE3A #3AB272
split-complementary
#3A3EB2 #B2723A #7AB23A
monochromatic
#1C1E56 #2B2E84 #3A3EB2 #5F62CB #8D8FDA
Accessibility & contrast
On white
8.36
#3A3EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#3A3EB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A3EB2
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A3EB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A3EB2 | 1.00 | 8.36 | 2.51 | 8.36 |
| #FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #3a3eb2; /* rgb */ color: rgb(58, 62, 178); /* oklch */ color: oklch(43.7% 0.180 274.6);
Tailwind
colors: {
custom: {
50: '#7f73ca',
500: '#3a3eb2',
950: '#000000',
},
}SCSS
$custom: #3a3eb2; $custom-light: #7f73ca; $custom-dark: #000000;
JSON
{
"hex": "#3a3eb2",
"rgb": {
"r": 58,
"g": 62,
"b": 178
},
"hsl": {
"h": 238,
"s": 50.847,
"l": 46.275
},
"oklch": {
"l": 0.43749,
"c": 0.17987,
"h": 274.6
},
"luminance": 0.07559
}Semantic roles & 50–950 ramp
primary
#3A3EB2
secondary
#C4C283
accent
#D64DDA
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82