#4A5299#4A5299
#4A5299 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.8% C 0.114 H 276.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #4A5299 |
|---|---|
| RGB | rgb(74, 82, 153) |
| HSL | hsl(234, 35%, 45%) |
| HSV | hsv(234, 52%, 60%) |
| CMYK | cmyk(51.6%, 46.4%, 0%, 40%) |
| CIE-LAB | lab(37.46, 17.50, -39.97) |
| CIE-LCH | lch(37.46, 43.64, 293.64°) |
| OKLab | oklab(46.76% 0.0123 -0.1136) |
| OKLCH | oklch(46.76% 0.114 276.2) |
| XYZ | xyz(11.5893, 9.7896, 31.4097) |
| Luminance | 0.0979 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.03
Dusk
#4E5481
ΔE00 5.30
Dusky Blue
#475F94
ΔE00 5.37
Blueberry
#464196
ΔE00 5.60
Denim Blue
#3B5B92
ΔE00 5.84
Darkslateblue
#483D8B
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A5299 #99914A
analogous
#4A7A99 #4A5299 #6A4A99
triadic
#4A5299 #994A52 #52994A
tetradic
#4A5299 #994A7A #99914A #4A996A
square
#4A5299 #994A7A #99914A #4A996A
split-complementary
#4A5299 #996A4A #7A994A
monochromatic
#222647 #363C70 #4A5299 #6A71B7 #9398CB
Accessibility & contrast
On white
7.10
#4A5299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#4A5299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A5299
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A5299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A5299 | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#345B9C
Deuteranopia (green-blind)
#2C5597
Tritanopia (blue-blind)
#29616E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #4a5299; /* rgb */ color: rgb(74, 82, 153); /* oklch */ color: oklch(46.8% 0.114 276.2);
Tailwind
colors: {
custom: {
50: '#8282b7',
500: '#4a5299',
950: '#000000',
},
}SCSS
$custom: #4a5299; $custom-light: #8282b7; $custom-dark: #000000;
JSON
{
"hex": "#4a5299",
"rgb": {
"r": 74,
"g": 82,
"b": 153
},
"hsl": {
"h": 233.924,
"s": 34.802,
"l": 44.51
},
"oklch": {
"l": 0.46755,
"c": 0.11425,
"h": 276.2
},
"luminance": 0.0979
}Semantic roles & 50–950 ramp
primary
#4A5299
secondary
#B7B288
accent
#C05DCB
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80