#4852D8#4852D8

#4852D8 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.4% C 0.202 H 273.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#4852D8
RGBrgb(72, 82, 216)
HSLhsl(236, 65%, 56%)
HSVhsv(236, 67%, 85%)
CMYKcmyk(66.7%, 62%, 0%, 15.3%)
CIE-LABlab(41.80, 38.44, -69.94)
CIE-LCHlch(41.80, 79.81, 298.79°)
OKLaboklab(51.37% 0.0126 -0.2017)
OKLCHoklch(51.37% 0.202 273.6)
XYZxyz(18.0803, 12.3685, 66.3870)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4852D8 #D8CE48
analogous
#489AD8 #4852D8 #8648D8
triadic
#4852D8 #D84852 #52D848
tetradic
#4852D8 #D8489A #D8CE48 #48D886
square
#4852D8 #D8489A #D8CE48 #48D886
split-complementary
#4852D8 #D88648 #9AD848
monochromatic
#1D2589 #2832BB #4852D8 #7A82E3 #ADB1EE

Accessibility & contrast

On white

6.04
#4852D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4852D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4852D8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4852D8#FFFFFF#000000##FFFFFF
##4852D81.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#005CD5
Tritanopia (blue-blind)
#00748D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4852d8;
/* rgb */ color: rgb(72, 82, 216);
/* oklch */ color: oklch(51.4% 0.202 273.6);
Tailwind
colors: {
  custom: {
    50: '#8c82e5',
    500: '#4852d8',
    950: '#000000',
  },
}
SCSS
$custom: #4852d8;
$custom-light: #8c82e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4852d8",
  "rgb": {
    "r": 72,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 235.833,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51371,
    "c": 0.20212,
    "h": 273.6
  },
  "luminance": 0.1237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4852D8

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

Preview Lab → · Contrast checker → · Palette generator →

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