#3A427A#3A427A
#3A427A is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.1% C 0.094 H 275.2°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #3A427A |
|---|---|
| RGB | rgb(58, 66, 122) |
| HSL | hsl(233, 36%, 35%) |
| HSV | hsv(233, 52%, 48%) |
| CMYK | cmyk(52.5%, 45.9%, 0%, 52.2%) |
| CIE-LAB | lab(29.91, 13.71, -33.04) |
| CIE-LCH | lch(29.91, 35.77, 292.53°) |
| OKLab | oklab(40.1% 0.0085 -0.0938) |
| OKLCH | oklch(40.1% 0.094 275.2) |
| XYZ | xyz(7.2049, 6.2007, 19.2258) |
| Luminance | 0.0620 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.37
Twilight
#4E518B
ΔE00 5.52
Blueberry
#464196
ΔE00 5.74
Dusk
#4E5481
ΔE00 6.40
Cobalt (survey)
#1E488F
ΔE00 6.71
Darkish Blue
#014182
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A427A #7A723A
analogous
#3A627A #3A427A #523A7A
triadic
#3A427A #7A3A42 #427A3A
tetradic
#3A427A #7A3A62 #7A723A #3A7A52
square
#3A427A #7A3A62 #7A723A #3A7A52
split-complementary
#3A427A #7A523A #627A3A
monochromatic
#131527 #262C51 #3A427A #4E58A3 #727CBC
Accessibility & contrast
On white
9.37
#3A427A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#3A427A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A427A
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A427A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A427A | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B497C
Deuteranopia (green-blind)
#244479
Tritanopia (blue-blind)
#204E58
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #3a427a; /* rgb */ color: rgb(58, 66, 122); /* oklch */ color: oklch(40.1% 0.094 275.2);
Tailwind
colors: {
custom: {
50: '#7576a1',
500: '#3a427a',
950: '#000000',
},
}SCSS
$custom: #3a427a; $custom-light: #7576a1; $custom-dark: #000000;
JSON
{
"hex": "#3a427a",
"rgb": {
"r": 58,
"g": 66,
"b": 122
},
"hsl": {
"h": 232.5,
"s": 35.556,
"l": 35.294
},
"oklch": {
"l": 0.40097,
"c": 0.09418,
"h": 275.2
},
"luminance": 0.06201
}Semantic roles & 50–950 ramp
primary
#3A427A
secondary
#A69E6A
accent
#BE5CCC
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080F
muted
#7B7B7E