#4A508E#4A508E
#4A508E is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.6% C 0.101 H 277.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #4A508E |
|---|---|
| RGB | rgb(74, 80, 142) |
| HSL | hsl(235, 31%, 42%) |
| HSV | hsv(235, 48%, 56%) |
| CMYK | cmyk(47.9%, 43.7%, 0%, 44.3%) |
| CIE-LAB | lab(36.26, 15.20, -35.22) |
| CIE-LCH | lch(36.26, 38.36, 293.34°) |
| OKLab | oklab(45.63% 0.013 -0.0997) |
| OKLCH | oklch(45.63% 0.101 277.5) |
| XYZ | xyz(10.5737, 9.1456, 26.7941) |
| Luminance | 0.0915 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 1.28
Dusk
#4E5481
ΔE00 3.70
Blueberry
#464196
ΔE00 5.61
Dusky Blue
#475F94
ΔE00 6.03
Darkslateblue
#483D8B
ΔE00 6.49
Denim Blue
#3B5B92
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A508E #8E884A
analogous
#4A728E #4A508E #664A8E
triadic
#4A508E #8E4A50 #508E4A
tetradic
#4A508E #8E4A72 #8E884A #4A8E66
square
#4A508E #8E4A72 #8E884A #4A8E66
split-complementary
#4A508E #8E664A #728E4A
monochromatic
#20233E #353966 #4A508E #666CAF #8E93C4
Accessibility & contrast
On white
7.42
#4A508E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#4A508E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A508E
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A508E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A508E | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385890
Deuteranopia (green-blind)
#33538D
Tritanopia (blue-blind)
#325D68
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #4a508e; /* rgb */ color: rgb(74, 80, 142); /* oklch */ color: oklch(45.6% 0.101 277.5);
Tailwind
colors: {
custom: {
50: '#8180af',
500: '#4a508e',
950: '#000000',
},
}SCSS
$custom: #4a508e; $custom-light: #8180af; $custom-dark: #000000;
JSON
{
"hex": "#4a508e",
"rgb": {
"r": 74,
"g": 80,
"b": 142
},
"hsl": {
"h": 234.706,
"s": 31.481,
"l": 42.353
},
"oklch": {
"l": 0.45632,
"c": 0.10053,
"h": 277.5
},
"luminance": 0.09146
}Semantic roles & 50–950 ramp
primary
#4A508E
secondary
#B0AC84
accent
#BF60C8
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F