#4A52C4#4A52C4
#4A52C4 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.9% C 0.175 H 275.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #4A52C4 |
|---|---|
| RGB | rgb(74, 82, 196) |
| HSL | hsl(236, 51%, 53%) |
| HSV | hsv(236, 62%, 77%) |
| CMYK | cmyk(62.2%, 58.2%, 0%, 23.1%) |
| CIE-LAB | lab(40.37, 31.96, -60.73) |
| CIE-LCH | lch(40.37, 68.63, 297.76°) |
| OKLab | oklab(49.86% 0.0154 -0.1746) |
| OKLCH | oklch(49.86% 0.175 275) |
| XYZ | xyz(15.8019, 11.4747, 53.5960) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.47
Iris
#6258C4
ΔE00 4.12
Ocean Blue
#4F42B5
ΔE00 5.41
Blue Blue
#2242C7
ΔE00 5.56
Slate Blue
#6A5ACD
ΔE00 5.73
Dark Periwinkle
#665FD1
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A52C4 #C4BC4A
analogous
#4A8FC4 #4A52C4 #7F4AC4
triadic
#4A52C4 #C44A52 #52C44A
tetradic
#4A52C4 #C44A8F #C4BC4A #4AC47F
square
#4A52C4 #C44A8F #C4BC4A #4AC47F
split-complementary
#4A52C4 #C47F4A #8FC44A
monochromatic
#24296F #333A9D #4A52C4 #787ED3 #A6AAE2
Accessibility & contrast
On white
6.37
#4A52C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#4A52C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A52C4
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A52C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A52C4 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#006E83
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4a52c4; /* rgb */ color: rgb(74, 82, 196); /* oklch */ color: oklch(49.9% 0.175 275.0);
Tailwind
colors: {
custom: {
50: '#8982d7',
500: '#4a52c4',
950: '#000000',
},
}SCSS
$custom: #4a52c4; $custom-light: #8982d7; $custom-dark: #000000;
JSON
{
"hex": "#4a52c4",
"rgb": {
"r": 74,
"g": 82,
"b": 196
},
"hsl": {
"h": 236.066,
"s": 50.833,
"l": 52.941
},
"oklch": {
"l": 0.49864,
"c": 0.17528,
"h": 275
},
"luminance": 0.11476
}Semantic roles & 50–950 ramp
primary
#4A52C4
secondary
#CFCC9B
accent
#D14DDA
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83