#3A428C#3A428C
#3A428C is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.122 H 275.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #3A428C |
|---|---|
| RGB | rgb(58, 66, 140) |
| HSL | hsl(234, 41%, 39%) |
| HSV | hsv(234, 59%, 55%) |
| CMYK | cmyk(58.6%, 52.9%, 0%, 45.1%) |
| CIE-LAB | lab(31.09, 19.97, -42.34) |
| CIE-LCH | lch(31.09, 46.81, 295.26°) |
| OKLab | oklab(41.37% 0.0109 -0.1211) |
| OKLCH | oklch(41.37% 0.122 275.1) |
| XYZ | xyz(8.4252, 6.6888, 25.6530) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.04
Darkslateblue
#483D8B
ΔE00 3.91
Cobalt (survey)
#1E488F
ΔE00 5.73
Twilight
#4E518B
ΔE00 5.76
Sapphire (survey)
#2138AB
ΔE00 6.29
Cobalt
#0047AB
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A428C #8C843A
analogous
#3A6B8C #3A428C #5B3A8C
triadic
#3A428C #8C3A42 #428C3A
tetradic
#3A428C #8C3A6B #8C843A #3A8C5B
square
#3A428C #8C3A6B #8C843A #3A8C5B
split-complementary
#3A428C #8C5B3A #6B8C3A
monochromatic
#161935 #282E61 #3A428C #4E58B6 #7981C7
Accessibility & contrast
On white
8.98
#3A428C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#3A428C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A428C
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A428C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A428C | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A4D8F
Deuteranopia (green-blind)
#09468A
Tritanopia (blue-blind)
#075360
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #3a428c; /* rgb */ color: rgb(58, 66, 140); /* oklch */ color: oklch(41.4% 0.122 275.1);
Tailwind
colors: {
custom: {
50: '#7876ae',
500: '#3a428c',
950: '#000000',
},
}SCSS
$custom: #3a428c; $custom-light: #7876ae; $custom-dark: #000000;
JSON
{
"hex": "#3a428c",
"rgb": {
"r": 58,
"g": 66,
"b": 140
},
"hsl": {
"h": 234.146,
"s": 41.414,
"l": 38.824
},
"oklch": {
"l": 0.41365,
"c": 0.12159,
"h": 275.1
},
"luminance": 0.06689
}Semantic roles & 50–950 ramp
primary
#3A428C
secondary
#B1AB71
accent
#C557D1
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090810
muted
#7B7B7F