#3A3D79#3A3D79
#3A3D79 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.9% C 0.100 H 278.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #3A3D79 |
|---|---|
| RGB | rgb(58, 61, 121) |
| HSL | hsl(237, 35%, 35%) |
| HSV | hsv(237, 52%, 47%) |
| CMYK | cmyk(52.1%, 49.6%, 0%, 52.5%) |
| CIE-LAB | lab(28.43, 16.73, -34.79) |
| CIE-LCH | lch(28.43, 38.60, 295.68°) |
| OKLab | oklab(38.95% 0.0148 -0.0989) |
| OKLCH | oklch(38.95% 0.1 278.5) |
| XYZ | xyz(6.8638, 5.6171, 18.8080) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.38
Blueberry
#464196
ΔE00 5.36
Twilight
#4E518B
ΔE00 6.66
Dusk
#4E5481
ΔE00 7.80
Cobalt (survey)
#1E488F
ΔE00 7.90
Darkish Blue
#014182
ΔE00 8.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A3D79 #79763A
analogous
#3A5C79 #3A3D79 #573A79
triadic
#3A3D79 #793A3D #3D793A
tetradic
#3A3D79 #793A5C #79763A #3A7957
square
#3A3D79 #793A5C #79763A #3A7957
split-complementary
#3A3D79 #79573A #5C793A
monochromatic
#121326 #262850 #3A3D79 #4E52A2 #7275BB
Accessibility & contrast
On white
9.89
#3A3D79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#3A3D79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A3D79
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A3D79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A3D79 | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22467B
Deuteranopia (green-blind)
#1D4178
Tritanopia (blue-blind)
#214A55
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #3a3d79; /* rgb */ color: rgb(58, 61, 121); /* oklch */ color: oklch(38.9% 0.100 278.5);
Tailwind
colors: {
custom: {
50: '#7572a0',
500: '#3a3d79',
950: '#000000',
},
}SCSS
$custom: #3a3d79; $custom-light: #7572a0; $custom-dark: #000000;
JSON
{
"hex": "#3a3d79",
"rgb": {
"r": 58,
"g": 61,
"b": 121
},
"hsl": {
"h": 237.143,
"s": 35.196,
"l": 35.098
},
"oklch": {
"l": 0.38946,
"c": 0.10005,
"h": 278.5
},
"luminance": 0.05618
}Semantic roles & 50–950 ramp
primary
#3A3D79
secondary
#A5A26A
accent
#C65DCB
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09080F
muted
#7B7B7E