#4852D7#4852D7

#4852D7 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.3% C 0.201 H 273.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#4852D7
RGBrgb(72, 82, 215)
HSLhsl(236, 64%, 56%)
HSVhsv(236, 67%, 84%)
CMYKcmyk(66.5%, 61.9%, 0%, 15.7%)
CIE-LABlab(41.72, 38.10, -69.50)
CIE-LCHlch(41.72, 79.26, 298.73°)
OKLaboklab(51.29% 0.0127 -0.2004)
OKLCHoklch(51.29% 0.201 273.6)
XYZxyz(17.9514, 12.3170, 65.7082)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4852D7 #D7CD48
analogous
#489AD7 #4852D7 #8648D7
triadic
#4852D7 #D74852 #52D748
tetradic
#4852D7 #D7489A #D7CD48 #48D786
square
#4852D7 #D7489A #D7CD48 #48D786
split-complementary
#4852D7 #D78648 #9AD748
monochromatic
#1E2587 #2933B9 #4852D7 #7A81E2 #ACB1ED

Accessibility & contrast

On white

6.06
#4852D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4852D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4852D7
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4852D7#FFFFFF#000000##FFFFFF
##4852D71.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#005CD4
Tritanopia (blue-blind)
#00748D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4852d7;
/* rgb */ color: rgb(72, 82, 215);
/* oklch */ color: oklch(51.3% 0.201 273.6);
Tailwind
colors: {
  custom: {
    50: '#8c82e4',
    500: '#4852d7',
    950: '#000000',
  },
}
SCSS
$custom: #4852d7;
$custom-light: #8c82e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4852d7",
  "rgb": {
    "r": 72,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 235.804,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51287,
    "c": 0.20084,
    "h": 273.6
  },
  "luminance": 0.12319
}

Semantic roles & 50–950 ramp

primary
#4852D7
secondary
#DBD7A0
accent
#DB41E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4852D7

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

Preview Lab → · Contrast checker → · Palette generator →

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