#4A4C97#4A4C97
#4A4C97 is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.4% C 0.120 H 279.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #4A4C97 |
|---|---|
| RGB | rgb(74, 76, 151) |
| HSL | hsl(238, 34%, 44%) |
| HSV | hsv(238, 51%, 59%) |
| CMYK | cmyk(51%, 49.7%, 0%, 40.8%) |
| CIE-LAB | lab(35.71, 20.72, -41.57) |
| CIE-LCH | lch(35.71, 46.44, 296.49°) |
| OKLab | oklab(45.39% 0.0194 -0.1183) |
| OKLCH | oklch(45.39% 0.12 279.3) |
| XYZ | xyz(10.9927, 8.8585, 30.4028) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.36
Blueberry
#464196
ΔE00 3.55
Darkslateblue
#483D8B
ΔE00 5.00
Dusk
#4E5481
ΔE00 5.99
Ocean Blue
#4F42B5
ΔE00 6.31
Cobalt (survey)
#1E488F
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A4C97 #97954A
analogous
#4A7397 #4A4C97 #6F4A97
triadic
#4A4C97 #974A4C #4C974A
tetradic
#4A4C97 #974A73 #97954A #4A976F
square
#4A4C97 #974A73 #97954A #4A976F
split-complementary
#4A4C97 #976F4A #73974A
monochromatic
#222345 #36376E #4A4C97 #696BB5 #9293CA
Accessibility & contrast
On white
7.58
#4A4C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#4A4C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A4C97
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A4C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A4C97 | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A579A
Deuteranopia (green-blind)
#235195
Tritanopia (blue-blind)
#2C5C6A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #4a4c97; /* rgb */ color: rgb(74, 76, 151); /* oklch */ color: oklch(45.4% 0.120 279.3);
Tailwind
colors: {
custom: {
50: '#827eb6',
500: '#4a4c97',
950: '#000000',
},
}SCSS
$custom: #4a4c97; $custom-light: #827eb6; $custom-dark: #000000;
JSON
{
"hex": "#4a4c97",
"rgb": {
"r": 74,
"g": 76,
"b": 151
},
"hsl": {
"h": 238.442,
"s": 34.222,
"l": 44.118
},
"oklch": {
"l": 0.45388,
"c": 0.1199,
"h": 279.3
},
"luminance": 0.08859
}Semantic roles & 50–950 ramp
primary
#4A4C97
secondary
#B6B487
accent
#C75DCA
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0911
muted
#7C7B80