#4A4FA6#4A4FA6
#4A4FA6 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.138 H 277.2°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #4A4FA6 |
|---|---|
| RGB | rgb(74, 79, 166) |
| HSL | hsl(237, 38%, 47%) |
| HSV | hsv(237, 55%, 65%) |
| CMYK | cmyk(55.4%, 52.4%, 0%, 34.9%) |
| CIE-LAB | lab(37.48, 23.75, -47.73) |
| CIE-LCH | lch(37.48, 53.32, 296.45°) |
| OKLab | oklab(47.04% 0.0173 -0.1364) |
| OKLCH | oklch(47.04% 0.138 277.2) |
| XYZ | xyz(12.5008, 9.8002, 37.3019) |
| Luminance | 0.0980 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.79
Ocean Blue
#4F42B5
ΔE00 5.20
Twilight
#4E518B
ΔE00 5.29
Iris
#6258C4
ΔE00 6.35
Darkslateblue
#483D8B
ΔE00 6.82
Blue Blue
#2242C7
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A4FA6 #A6A14A
analogous
#4A7DA6 #4A4FA6 #734AA6
triadic
#4A4FA6 #A64A4F #4FA64A
tetradic
#4A4FA6 #A64A7D #A6A14A #4AA673
square
#4A4FA6 #A64A7D #A6A14A #4AA673
split-complementary
#4A4FA6 #A6734A #7DA64A
monochromatic
#242751 #373B7C #4A4FA6 #6F73BF #999CD1
Accessibility & contrast
On white
7.09
#4A4FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#4A4FA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A4FA6
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A4FA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A4FA6 | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#205CA9
Deuteranopia (green-blind)
#1155A4
Tritanopia (blue-blind)
#1C6373
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #4a4fa6; /* rgb */ color: rgb(74, 79, 166); /* oklch */ color: oklch(47.0% 0.138 277.2);
Tailwind
colors: {
custom: {
50: '#8480c1',
500: '#4a4fa6',
950: '#000000',
},
}SCSS
$custom: #4a4fa6; $custom-light: #8480c1; $custom-dark: #000000;
JSON
{
"hex": "#4a4fa6",
"rgb": {
"r": 74,
"g": 79,
"b": 166
},
"hsl": {
"h": 236.739,
"s": 38.333,
"l": 47.059
},
"oklch": {
"l": 0.47035,
"c": 0.13751,
"h": 277.2
},
"luminance": 0.09801
}Semantic roles & 50–950 ramp
primary
#4A4FA6
secondary
#BEBB8E
accent
#C85ACE
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0B0A12
muted
#7C7C81