#3A4E9E#3A4E9E
#3A4E9E is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.2% C 0.132 H 269.9°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4E9E |
|---|---|
| RGB | rgb(58, 78, 158) |
| HSL | hsl(228, 46%, 42%) |
| HSV | hsv(228, 63%, 62%) |
| CMYK | cmyk(63.3%, 50.6%, 0%, 38%) |
| CIE-LAB | lab(35.63, 18.43, -45.98) |
| CIE-LCH | lch(35.63, 49.54, 291.84°) |
| OKLab | oklab(45.19% -0.0002 -0.1317) |
| OKLCH | oklch(45.19% 0.132 269.9) |
| XYZ | xyz(10.6388, 8.8160, 33.4821) |
| Luminance | 0.0882 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.55
Cobalt
#0047AB
ΔE00 4.70
Sapphire
#0F52BA
ΔE00 5.26
Denim Blue
#3B5B92
ΔE00 5.30
Dusk Blue
#26538D
ΔE00 5.62
Twilight
#4E518B
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4E9E #9E8A3A
analogous
#3A809E #3A4E9E #583A9E
triadic
#3A4E9E #9E3A4E #4E9E3A
tetradic
#3A4E9E #9E3A80 #9E8A3A #3A9E58
square
#3A4E9E #9E3A80 #9E8A3A #3A9E58
split-complementary
#3A4E9E #9E583A #809E3A
monochromatic
#192244 #2A3871 #3A4E9E #556AC0 #8191D1
Accessibility & contrast
On white
7.60
#3A4E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#3A4E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4E9E
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4E9E | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2358A1
Deuteranopia (green-blind)
#0A509C
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #3a4e9e; /* rgb */ color: rgb(58, 78, 158); /* oklch */ color: oklch(45.2% 0.132 269.9);
Tailwind
colors: {
custom: {
50: '#7a7fbb',
500: '#3a4e9e',
950: '#000000',
},
}SCSS
$custom: #3a4e9e; $custom-light: #7a7fbb; $custom-dark: #000000;
JSON
{
"hex": "#3a4e9e",
"rgb": {
"r": 58,
"g": 78,
"b": 158
},
"hsl": {
"h": 228,
"s": 46.296,
"l": 42.353
},
"oklch": {
"l": 0.4519,
"c": 0.13166,
"h": 269.9
},
"luminance": 0.08817
}Semantic roles & 50–950 ramp
primary
#3A4E9E
secondary
#BBAE79
accent
#BC52D6
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81