#3A3E71#3A3E71
#3A3E71 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.6% C 0.086 H 278.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #3A3E71 |
|---|---|
| RGB | rgb(58, 62, 113) |
| HSL | hsl(236, 32%, 34%) |
| HSV | hsv(236, 49%, 44%) |
| CMYK | cmyk(48.7%, 45.1%, 0%, 55.7%) |
| CIE-LAB | lab(28.21, 13.35, -30.07) |
| CIE-LCH | lch(28.21, 32.90, 293.93°) |
| OKLab | oklab(38.62% 0.0122 -0.0851) |
| OKLCH | oklch(38.62% 0.086 278.2) |
| XYZ | xyz(6.4473, 5.5367, 16.3486) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.95
Twilight
#4E518B
ΔE00 6.84
Blueberry
#464196
ΔE00 7.01
Dusk
#4E5481
ΔE00 7.29
Marine
#042E60
ΔE00 8.52
Cobalt (survey)
#1E488F
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A3E71 #716D3A
analogous
#3A5971 #3A3E71 #513A71
triadic
#3A3E71 #713A3E #3E713A
tetradic
#3A3E71 #713A59 #716D3A #3A7151
square
#3A3E71 #713A59 #716D3A #3A7151
split-complementary
#3A3E71 #71513A #59713A
monochromatic
#101220 #252849 #3A3E71 #4F5499 #7075B6
Accessibility & contrast
On white
9.96
#3A3E71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#3A3E71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A3E71
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A3E71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A3E71 | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4573
Deuteranopia (green-blind)
#264170
Tritanopia (blue-blind)
#274952
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #3a3e71; /* rgb */ color: rgb(58, 62, 113); /* oklch */ color: oklch(38.6% 0.086 278.2);
Tailwind
colors: {
custom: {
50: '#74739a',
500: '#3a3e71',
950: '#000000',
},
}SCSS
$custom: #3a3e71; $custom-light: #74739a; $custom-dark: #000000;
JSON
{
"hex": "#3a3e71",
"rgb": {
"r": 58,
"g": 62,
"b": 113
},
"hsl": {
"h": 235.636,
"s": 32.164,
"l": 33.529
},
"oklch": {
"l": 0.38623,
"c": 0.08599,
"h": 278.2
},
"luminance": 0.05537
}Semantic roles & 50–950 ramp
primary
#3A3E71
secondary
#9F9B68
accent
#C15FC8
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08080E
muted
#7B7B7E