#4852E7#4852E7

#4852E7 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.7% C 0.221 H 273.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4852E7
RGBrgb(72, 82, 231)
HSLhsl(236, 77%, 59%)
HSVhsv(236, 69%, 91%)
CMYKcmyk(68.8%, 64.5%, 0%, 9.4%)
CIE-LABlab(43.03, 43.48, -76.46)
CIE-LCHlch(43.03, 87.96, 299.63°)
OKLaboklab(52.66% 0.0117 -0.2208)
OKLCHoklch(52.66% 0.221 273)
XYZxyz(20.1088, 13.1799, 77.0700)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4852E7 #E7DD48
analogous
#48A2E7 #4852E7 #8D48E7
triadic
#4852E7 #E74852 #52E748
tetradic
#4852E7 #E748A2 #E7DD48 #48E78D
square
#4852E7 #E748A2 #E7DD48 #48E78D
split-complementary
#4852E7 #E78D48 #A2E748
monochromatic
#151EA0 #1C28D6 #4852E7 #7E85EE #B4B8F5

Accessibility & contrast

On white

5.77
#4852E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4852E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4852E7
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4852E7#FFFFFF#000000##FFFFFF
##4852E71.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#005EE4
Tritanopia (blue-blind)
#007995
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4852e7;
/* rgb */ color: rgb(72, 82, 231);
/* oklch */ color: oklch(52.7% 0.221 273.0);
Tailwind
colors: {
  custom: {
    50: '#8f83f0',
    500: '#4852e7',
    950: '#000000',
  },
}
SCSS
$custom: #4852e7;
$custom-light: #8f83f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4852e7",
  "rgb": {
    "r": 72,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 236.226,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52659,
    "c": 0.22114,
    "h": 273
  },
  "luminance": 0.13182
}

Semantic roles & 50–950 ramp

primary
#4852E7
secondary
#E4E0A6
accent
#E734F3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4852E7

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4852E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva