#4852D6#4852D6

#4852D6 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.2% C 0.200 H 273.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#4852D6
RGBrgb(72, 82, 214)
HSLhsl(236, 63%, 56%)
HSVhsv(236, 66%, 84%)
CMYKcmyk(66.4%, 61.7%, 0%, 16.1%)
CIE-LABlab(41.64, 37.76, -69.06)
CIE-LCHlch(41.64, 78.71, 298.67°)
OKLaboklab(51.2% 0.0127 -0.1991)
OKLCHoklch(51.2% 0.2 273.7)
XYZxyz(17.8233, 12.2657, 65.0335)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4852D6 #D6CC48
analogous
#4899D6 #4852D6 #8548D6
triadic
#4852D6 #D64852 #52D648
tetradic
#4852D6 #D64899 #D6CC48 #48D685
square
#4852D6 #D64899 #D6CC48 #48D685
split-complementary
#4852D6 #D68548 #99D648
monochromatic
#1E2586 #2933B8 #4852D6 #7A81E1 #ACB1EC

Accessibility & contrast

On white

6.08
#4852D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4852D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4852D6
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4852D6#FFFFFF#000000##FFFFFF
##4852D61.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#005CD3
Tritanopia (blue-blind)
#00738C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4852d6;
/* rgb */ color: rgb(72, 82, 214);
/* oklch */ color: oklch(51.2% 0.200 273.7);
Tailwind
colors: {
  custom: {
    50: '#8b82e4',
    500: '#4852d6',
    950: '#000000',
  },
}
SCSS
$custom: #4852d6;
$custom-light: #8b82e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4852d6",
  "rgb": {
    "r": 72,
    "g": 82,
    "b": 214
  },
  "hsl": {
    "h": 235.775,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51203,
    "c": 0.19955,
    "h": 273.7
  },
  "luminance": 0.12267
}

Semantic roles & 50–950 ramp

primary
#4852D6
secondary
#DAD6A0
accent
#DB41E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4852D6

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

Preview Lab → · Contrast checker → · Palette generator →

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