#4A5AAA#4A5AAA
#4A5AAA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.5% C 0.128 H 272.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #4A5AAA |
|---|---|
| RGB | rgb(74, 90, 170) |
| HSL | hsl(230, 39%, 48%) |
| HSV | hsv(230, 56%, 67%) |
| CMYK | cmyk(56.5%, 47.1%, 0%, 33.3%) |
| CIE-LAB | lab(40.69, 18.04, -44.97) |
| CIE-LCH | lch(40.69, 48.45, 291.86°) |
| OKLab | oklab(49.54% 0.0054 -0.1282) |
| OKLCH | oklch(49.54% 0.128 272.4) |
| XYZ | xyz(13.7335, 11.6695, 39.5511) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 4.16
Denim Blue
#3B5B92
ΔE00 4.92
Sapphire
#0F52BA
ΔE00 6.17
Twilight
#4E518B
ΔE00 6.28
Iris
#6258C4
ΔE00 6.34
French Blue
#436BAD
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A5AAA #AA9A4A
analogous
#4A8AAA #4A5AAA #6A4AAA
triadic
#4A5AAA #AA4A5A #5AAA4A
tetradic
#4A5AAA #AA4A8A #AA9A4A #4AAA6A
square
#4A5AAA #AA4A8A #AA9A4A #4AAA6A
split-complementary
#4A5AAA #AA6A4A #8AAA4A
monochromatic
#252D55 #37437F #4A5AAA #707EC1 #9BA4D3
Accessibility & contrast
On white
6.30
#4A5AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#4A5AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A5AAA
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A5AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A5AAA | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3564AD
Deuteranopia (green-blind)
#285CA8
Tritanopia (blue-blind)
#126C7A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4a5aaa; /* rgb */ color: rgb(74, 90, 170); /* oklch */ color: oklch(49.5% 0.128 272.4);
Tailwind
colors: {
custom: {
50: '#8488c4',
500: '#4a5aaa',
950: '#000000',
},
}SCSS
$custom: #4a5aaa; $custom-light: #8488c4; $custom-dark: #000000;
JSON
{
"hex": "#4a5aaa",
"rgb": {
"r": 74,
"g": 90,
"b": 170
},
"hsl": {
"h": 230,
"s": 39.344,
"l": 47.843
},
"oklch": {
"l": 0.4954,
"c": 0.12828,
"h": 272.4
},
"luminance": 0.1167
}Semantic roles & 50–950 ramp
primary
#4A5AAA
secondary
#C0B890
accent
#BB59CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0B0B13
muted
#7C7C82