#4B52BA#4B52BA
#4B52BA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.2% C 0.161 H 275.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #4B52BA |
|---|---|
| RGB | rgb(75, 82, 186) |
| HSL | hsl(236, 45%, 51%) |
| HSV | hsv(236, 60%, 73%) |
| CMYK | cmyk(59.7%, 55.9%, 0%, 27.1%) |
| CIE-LAB | lab(39.71, 28.76, -55.96) |
| CIE-LCH | lch(39.71, 62.92, 297.20°) |
| OKLab | oklab(49.16% 0.0164 -0.1606) |
| OKLCH | oklch(49.16% 0.161 275.8) |
| XYZ | xyz(14.7790, 11.0745, 47.8036) |
| Luminance | 0.1108 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.34
Warm Blue
#4B57DB
ΔE00 4.76
Ocean Blue
#4F42B5
ΔE00 5.14
Blue Blue
#2242C7
ΔE00 5.86
Slate Blue
#6A5ACD
ΔE00 6.21
Sapphire
#0F52BA
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B52BA #BAB34B
analogous
#4B89BA #4B52BA #7B4BBA
triadic
#4B52BA #BA4B52 #52BA4B
tetradic
#4B52BA #BA4B89 #BAB34B #4BBA7B
square
#4B52BA #BA4B89 #BAB34B #4BBA7B
split-complementary
#4B52BA #BA7B4B #89BA4B
monochromatic
#262A64 #373D90 #4B52BA #777DCB #A3A7DC
Accessibility & contrast
On white
6.53
#4B52BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#4B52BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4B52BA
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B52BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B52BA | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4b52ba; /* rgb */ color: rgb(75, 82, 186); /* oklch */ color: oklch(49.2% 0.161 275.8);
Tailwind
colors: {
custom: {
50: '#8882cf',
500: '#4b52ba',
950: '#000000',
},
}SCSS
$custom: #4b52ba; $custom-light: #8882cf; $custom-dark: #000000;
JSON
{
"hex": "#4b52ba",
"rgb": {
"r": 75,
"g": 82,
"b": 186
},
"hsl": {
"h": 236.216,
"s": 44.578,
"l": 51.176
},
"oklch": {
"l": 0.49158,
"c": 0.1614,
"h": 275.8
},
"luminance": 0.11076
}Semantic roles & 50–950 ramp
primary
#4B52BA
secondary
#C9C698
accent
#CC54D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82