#4852B7#4852B7
#4852B7 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.7% C 0.158 H 274.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #4852B7 |
|---|---|
| RGB | rgb(72, 82, 183) |
| HSL | hsl(235, 44%, 50%) |
| HSV | hsv(235, 61%, 72%) |
| CMYK | cmyk(60.7%, 55.2%, 0%, 28.2%) |
| CIE-LAB | lab(39.29, 27.19, -54.88) |
| CIE-LCH | lch(39.29, 61.25, 296.36°) |
| OKLab | oklab(48.73% 0.0128 -0.1575) |
| OKLCH | oklch(48.73% 0.158 274.7) |
| XYZ | xyz(14.2342, 10.8301, 46.1309) |
| Luminance | 0.1083 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.95
Warm Blue
#4B57DB
ΔE00 5.20
Ocean Blue
#4F42B5
ΔE00 5.39
Blue Blue
#2242C7
ΔE00 5.79
Sapphire
#0F52BA
ΔE00 5.89
Slate Blue
#6A5ACD
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4852B7 #B7AD48
analogous
#4889B7 #4852B7 #7648B7
triadic
#4852B7 #B74852 #52B748
tetradic
#4852B7 #B74889 #B7AD48 #48B776
square
#4852B7 #B74889 #B7AD48 #48B776
split-complementary
#4852B7 #B77648 #89B748
monochromatic
#252B5F #373E8B #4852B7 #747CC8 #A0A5DA
Accessibility & contrast
On white
6.63
#4852B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#4852B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4852B7
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4852B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4852B7 | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0661BA
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #4852b7; /* rgb */ color: rgb(72, 82, 183); /* oklch */ color: oklch(48.7% 0.158 274.7);
Tailwind
colors: {
custom: {
50: '#8682cd',
500: '#4852b7',
950: '#000000',
},
}SCSS
$custom: #4852b7; $custom-light: #8682cd; $custom-dark: #000000;
JSON
{
"hex": "#4852b7",
"rgb": {
"r": 72,
"g": 82,
"b": 183
},
"hsl": {
"h": 234.595,
"s": 43.529,
"l": 50
},
"oklch": {
"l": 0.4873,
"c": 0.15798,
"h": 274.7
},
"luminance": 0.10831
}Semantic roles & 50–950 ramp
primary
#4852B7
secondary
#C6C295
accent
#C855D3
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82