#3A3DB2#3A3DB2
#3A3DB2 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.6% C 0.181 H 274.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #3A3DB2 |
|---|---|
| RGB | rgb(58, 61, 178) |
| HSL | hsl(239, 51%, 46%) |
| HSV | hsv(239, 67%, 70%) |
| CMYK | cmyk(67.4%, 65.7%, 0%, 30.2%) |
| CIE-LAB | lab(32.81, 36.53, -62.52) |
| CIE-LCH | lch(32.81, 72.40, 300.30°) |
| OKLab | oklab(43.58% 0.0151 -0.1804) |
| OKLCH | oklch(43.58% 0.181 274.8) |
| XYZ | xyz(11.4469, 7.4504, 42.9457) |
| Luminance | 0.0745 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.95
Ocean Blue
#4F42B5
ΔE00 3.13
Blue Blue
#2242C7
ΔE00 3.63
Blue With A Hint Of Purple
#533CC6
ΔE00 4.62
Blueberry
#464196
ΔE00 4.89
Blurple
#5539CC
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A3DB2 #B2AF3A
analogous
#3A79B2 #3A3DB2 #733AB2
triadic
#3A3DB2 #B23A3D #3DB23A
tetradic
#3A3DB2 #B23A79 #B2AF3A #3AB273
square
#3A3DB2 #B23A79 #B2AF3A #3AB273
split-complementary
#3A3DB2 #B2733A #79B23A
monochromatic
#1C1D56 #2B2D84 #3A3DB2 #5F61CB #8D8FDA
Accessibility & contrast
On white
8.43
#3A3DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#3A3DB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A3DB2
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A3DB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A3DB2 | 1.00 | 8.43 | 2.49 | 8.43 |
| #FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #3a3db2; /* rgb */ color: rgb(58, 61, 178); /* oklch */ color: oklch(43.6% 0.181 274.8);
Tailwind
colors: {
custom: {
50: '#7f73ca',
500: '#3a3db2',
950: '#000000',
},
}SCSS
$custom: #3a3db2; $custom-light: #7f73ca; $custom-dark: #000000;
JSON
{
"hex": "#3a3db2",
"rgb": {
"r": 58,
"g": 61,
"b": 178
},
"hsl": {
"h": 238.5,
"s": 50.847,
"l": 46.275
},
"oklch": {
"l": 0.43579,
"c": 0.18106,
"h": 274.8
},
"luminance": 0.07451
}Semantic roles & 50–950 ramp
primary
#3A3DB2
secondary
#C4C383
accent
#D74DDA
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82