#4852B2#4852B2
#4852B2 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.151 H 274.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #4852B2 |
|---|---|
| RGB | rgb(72, 82, 178) |
| HSL | hsl(234, 42%, 49%) |
| HSV | hsv(234, 60%, 70%) |
| CMYK | cmyk(59.6%, 53.9%, 0%, 30.2%) |
| CIE-LAB | lab(38.94, 25.48, -52.50) |
| CIE-LCH | lch(38.94, 58.36, 295.89°) |
| OKLab | oklab(48.36% 0.0126 -0.1505) |
| OKLCH | oklch(48.36% 0.151 274.8) |
| XYZ | xyz(13.7230, 10.6256, 43.4386) |
| Luminance | 0.1063 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.32
Ocean Blue
#4F42B5
ΔE00 5.53
Warm Blue
#4B57DB
ΔE00 5.89
Sapphire
#0F52BA
ΔE00 5.91
Blue Blue
#2242C7
ΔE00 6.12
Blueberry
#464196
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4852B2 #B2A848
analogous
#4887B2 #4852B2 #7348B2
triadic
#4852B2 #B24852 #52B248
tetradic
#4852B2 #B24887 #B2A848 #48B273
square
#4852B2 #B24887 #B2A848 #48B273
split-complementary
#4852B2 #B27348 #87B248
monochromatic
#252A5B #363E86 #4852B2 #7179C6 #9DA3D7
Accessibility & contrast
On white
6.72
#4852B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#4852B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4852B2
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4852B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4852B2 | 1.00 | 6.72 | 3.13 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1560B5
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4852b2; /* rgb */ color: rgb(72, 82, 178); /* oklch */ color: oklch(48.4% 0.151 274.8);
Tailwind
colors: {
custom: {
50: '#8582ca',
500: '#4852b2',
950: '#000000',
},
}SCSS
$custom: #4852b2; $custom-light: #8582ca; $custom-dark: #000000;
JSON
{
"hex": "#4852b2",
"rgb": {
"r": 72,
"g": 82,
"b": 178
},
"hsl": {
"h": 234.34,
"s": 42.4,
"l": 49.02
},
"oklch": {
"l": 0.48356,
"c": 0.151,
"h": 274.8
},
"luminance": 0.10627
}Semantic roles & 50–950 ramp
primary
#4852B2
secondary
#C4BF92
accent
#C656D2
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82