#3A396F#3A396F
#3A396F is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.4% C 0.091 H 281.9°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #3A396F |
|---|---|
| RGB | rgb(58, 57, 111) |
| HSL | hsl(241, 32%, 33%) |
| HSV | hsv(241, 49%, 44%) |
| CMYK | cmyk(47.7%, 48.6%, 0%, 56.5%) |
| CIE-LAB | lab(26.66, 16.06, -31.27) |
| CIE-LCH | lch(26.66, 35.15, 297.18°) |
| OKLab | oklab(37.4% 0.0187 -0.0887) |
| OKLCH | oklch(37.4% 0.091 281.9) |
| XYZ | xyz(6.0764, 4.9732, 15.6756) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.61
Blueberry
#464196
ΔE00 7.17
Twilight
#4E518B
ΔE00 8.09
Marine
#042E60
ΔE00 8.61
Navy Blue
#1B2A4A
ΔE00 8.73
Dusk
#4E5481
ΔE00 8.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A396F #6E6F39
analogous
#39536F #3A396F #55396F
triadic
#3A396F #6F3A39 #396F3A
tetradic
#3A396F #6F3953 #6E6F39 #396F55
square
#3A396F #6F3953 #6E6F39 #396F55
split-complementary
#3A396F #6F5539 #536F39
monochromatic
#100F1E #252447 #3A396F #4F4E97 #6F6EB4
Accessibility & contrast
On white
10.53
#3A396F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#3A396F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A396F
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A396F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A396F | 1.00 | 10.53 | 1.99 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234171
Deuteranopia (green-blind)
#203D6E
Tritanopia (blue-blind)
#28444E
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3a396f; /* rgb */ color: rgb(58, 57, 111); /* oklch */ color: oklch(37.4% 0.091 281.9);
Tailwind
colors: {
custom: {
50: '#746f99',
500: '#3a396f',
950: '#000000',
},
}SCSS
$custom: #3a396f; $custom-light: #746f99; $custom-dark: #000000;
JSON
{
"hex": "#3a396f",
"rgb": {
"r": 58,
"g": 57,
"b": 111
},
"hsl": {
"h": 241.111,
"s": 32.143,
"l": 32.941
},
"oklch": {
"l": 0.37403,
"c": 0.09062,
"h": 281.9
},
"luminance": 0.04973
}Semantic roles & 50–950 ramp
primary
#3A396F
secondary
#9D9E66
accent
#C85FC6
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070E
muted
#7B7A7E