#4A52BE#4A52BE
#4A52BE is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.4% C 0.167 H 275.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #4A52BE |
|---|---|
| RGB | rgb(74, 82, 190) |
| HSL | hsl(236, 47%, 52%) |
| HSV | hsv(236, 61%, 75%) |
| CMYK | cmyk(61.1%, 56.8%, 0%, 25.5%) |
| CIE-LAB | lab(39.93, 29.93, -57.95) |
| CIE-LCH | lch(39.93, 65.22, 297.32°) |
| OKLab | oklab(49.4% 0.0153 -0.1664) |
| OKLCH | oklch(49.4% 0.167 275.3) |
| XYZ | xyz(15.1326, 11.2069, 50.0709) |
| Luminance | 0.1121 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.23
Iris
#6258C4
ΔE00 4.29
Ocean Blue
#4F42B5
ΔE00 5.24
Blue Blue
#2242C7
ΔE00 5.64
Slate Blue
#6A5ACD
ΔE00 6.07
Dark Periwinkle
#665FD1
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A52BE #BEB64A
analogous
#4A8CBE #4A52BE #7C4ABE
triadic
#4A52BE #BE4A52 #52BE4A
tetradic
#4A52BE #BE4A8C #BEB64A #4ABE7C
square
#4A52BE #BE4A8C #BEB64A #4ABE7C
split-complementary
#4A52BE #BE7C4A #8CBE4A
monochromatic
#252A68 #363C95 #4A52BE #777DCE #A4A8DE
Accessibility & contrast
On white
6.48
#4A52BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#4A52BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A52BE
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A52BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A52BE | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4a52be; /* rgb */ color: rgb(74, 82, 190); /* oklch */ color: oklch(49.4% 0.167 275.3);
Tailwind
colors: {
custom: {
50: '#8882d2',
500: '#4a52be',
950: '#000000',
},
}SCSS
$custom: #4a52be; $custom-light: #8882d2; $custom-dark: #000000;
JSON
{
"hex": "#4a52be",
"rgb": {
"r": 74,
"g": 82,
"b": 190
},
"hsl": {
"h": 235.862,
"s": 47.154,
"l": 51.765
},
"oklch": {
"l": 0.49397,
"c": 0.16713,
"h": 275.3
},
"luminance": 0.11208
}Semantic roles & 50–950 ramp
primary
#4A52BE
secondary
#CBC898
accent
#CE51D7
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83