#4852CE#4852CE

#4852CE is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.5% C 0.189 H 273.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#4852CE
RGBrgb(72, 82, 206)
HSLhsl(236, 58%, 55%)
HSVhsv(236, 65%, 81%)
CMYKcmyk(65%, 60.2%, 0%, 19.2%)
CIE-LABlab(41.00, 35.05, -65.49)
CIE-LCHlch(41.00, 74.28, 298.15°)
OKLaboklab(50.54% 0.013 -0.1887)
OKLCHoklch(50.54% 0.189 273.9)
XYZxyz(16.8267, 11.8671, 59.7844)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4852CE #CEC448
analogous
#4895CE #4852CE #8148CE
triadic
#4852CE #CE4852 #52CE48
tetradic
#4852CE #CE4895 #CEC448 #48CE81
square
#4852CE #CE4895 #CEC448 #48CE81
split-complementary
#4852CE #CE8148 #95CE48
monochromatic
#21287B #2E37AB #4852CE #7880DB #A9ADE8

Accessibility & contrast

On white

6.22
#4852CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4852CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4852CE
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4852CE#FFFFFF#000000##FFFFFF
##4852CE1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4852ce;
/* rgb */ color: rgb(72, 82, 206);
/* oklch */ color: oklch(50.5% 0.189 273.9);
Tailwind
colors: {
  custom: {
    50: '#8a82de',
    500: '#4852ce',
    950: '#000000',
  },
}
SCSS
$custom: #4852ce;
$custom-light: #8a82de;
$custom-dark: #000000;
JSON
{
  "hex": "#4852ce",
  "rgb": {
    "r": 72,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 235.522,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50541,
    "c": 0.1891,
    "h": 273.9
  },
  "luminance": 0.11869
}

Semantic roles & 50–950 ramp

primary
#4852CE
secondary
#D5D19D
accent
#D547E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4852CE

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

Preview Lab → · Contrast checker → · Palette generator →

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