#4A52BF#4A52BF
#4A52BF is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.5% C 0.169 H 275.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #4A52BF |
|---|---|
| RGB | rgb(74, 82, 191) |
| HSL | hsl(236, 48%, 52%) |
| HSV | hsv(236, 61%, 75%) |
| CMYK | cmyk(61.3%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(40.00, 30.27, -58.41) |
| CIE-LCH | lch(40.00, 65.79, 297.39°) |
| OKLab | oklab(49.47% 0.0153 -0.1678) |
| OKLCH | oklch(49.47% 0.169 275.2) |
| XYZ | xyz(15.2422, 11.2508, 50.6485) |
| Luminance | 0.1125 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.10
Iris
#6258C4
ΔE00 4.25
Ocean Blue
#4F42B5
ΔE00 5.26
Blue Blue
#2242C7
ΔE00 5.62
Slate Blue
#6A5ACD
ΔE00 6.00
Dark Periwinkle
#665FD1
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A52BF #BFB74A
analogous
#4A8DBF #4A52BF #7C4ABF
triadic
#4A52BF #BF4A52 #52BF4A
tetradic
#4A52BF #BF4A8D #BFB74A #4ABF7C
square
#4A52BF #BF4A8D #BFB74A #4ABF7C
split-complementary
#4A52BF #BF7C4A #8DBF4A
monochromatic
#252A69 #353C97 #4A52BF #777DCF #A4A8DF
Accessibility & contrast
On white
6.46
#4A52BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#4A52BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A52BF
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A52BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A52BF | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4a52bf; /* rgb */ color: rgb(74, 82, 191); /* oklch */ color: oklch(49.5% 0.169 275.2);
Tailwind
colors: {
custom: {
50: '#8882d3',
500: '#4a52bf',
950: '#000000',
},
}SCSS
$custom: #4a52bf; $custom-light: #8882d3; $custom-dark: #000000;
JSON
{
"hex": "#4a52bf",
"rgb": {
"r": 74,
"g": 82,
"b": 191
},
"hsl": {
"h": 235.897,
"s": 47.755,
"l": 51.961
},
"oklch": {
"l": 0.49474,
"c": 0.1685,
"h": 275.2
},
"luminance": 0.11252
}Semantic roles & 50–950 ramp
primary
#4A52BF
secondary
#CCC999
accent
#CE50D7
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83