#3A458E#3A458E
#3A458E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.120 H 273.7°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3A458E |
|---|---|
| RGB | rgb(58, 69, 142) |
| HSL | hsl(232, 42%, 39%) |
| HSV | hsv(232, 59%, 56%) |
| CMYK | cmyk(59.2%, 51.4%, 0%, 44.3%) |
| CIE-LAB | lab(32.05, 18.68, -42.02) |
| CIE-LCH | lch(32.05, 45.98, 293.97°) |
| OKLab | oklab(42.14% 0.0077 -0.1201) |
| OKLCH | oklch(42.14% 0.12 273.7) |
| XYZ | xyz(8.7539, 7.1081, 26.4966) |
| Luminance | 0.0711 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.54
Darkslateblue
#483D8B
ΔE00 4.72
Cobalt (survey)
#1E488F
ΔE00 5.03
Twilight
#4E518B
ΔE00 5.24
Cobalt
#0047AB
ΔE00 6.34
Sapphire (survey)
#2138AB
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A458E #8E833A
analogous
#3A6F8E #3A458E #593A8E
triadic
#3A458E #8E3A45 #458E3A
tetradic
#3A458E #8E3A6F #8E833A #3A8E59
square
#3A458E #8E3A6F #8E833A #3A8E59
split-complementary
#3A458E #8E593A #6F8E3A
monochromatic
#171B37 #283063 #3A458E #4E5CB7 #7A84C9
Accessibility & contrast
On white
8.67
#3A458E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#3A458E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A458E
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A458E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A458E | 1.00 | 8.67 | 2.42 | 8.67 |
| #FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4F91
Deuteranopia (green-blind)
#10488C
Tritanopia (blue-blind)
#015663
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #3a458e; /* rgb */ color: rgb(58, 69, 142); /* oklch */ color: oklch(42.1% 0.120 273.7);
Tailwind
colors: {
custom: {
50: '#7878af',
500: '#3a458e',
950: '#000000',
},
}SCSS
$custom: #3a458e; $custom-light: #7878af; $custom-dark: #000000;
JSON
{
"hex": "#3a458e",
"rgb": {
"r": 58,
"g": 69,
"b": 142
},
"hsl": {
"h": 232.143,
"s": 42,
"l": 39.216
},
"oklch": {
"l": 0.42136,
"c": 0.12037,
"h": 273.7
},
"luminance": 0.07109
}Semantic roles & 50–950 ramp
primary
#3A458E
secondary
#B2AA72
accent
#C256D2
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090910
muted
#7B7B7F