#4852DA#4852DA

#4852DA is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.5% C 0.205 H 273.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#4852DA
RGBrgb(72, 82, 218)
HSLhsl(236, 66%, 57%)
HSVhsv(236, 67%, 85%)
CMYKcmyk(67%, 62.4%, 0%, 14.5%)
CIE-LABlab(41.96, 39.11, -70.82)
CIE-LCHlch(41.96, 80.91, 298.91°)
OKLaboklab(51.54% 0.0125 -0.2043)
OKLCHoklch(51.54% 0.205 273.5)
XYZxyz(18.3405, 12.4726, 67.7570)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4852DA #DAD048
analogous
#489BDA #4852DA #8748DA
triadic
#4852DA #DA4852 #52DA48
tetradic
#4852DA #DA489B #DAD048 #48DA87
square
#4852DA #DA489B #DAD048 #48DA87
split-complementary
#4852DA #DA8748 #9BDA48
monochromatic
#1C248B #2631BE #4852DA #7B82E4 #AEB2EF

Accessibility & contrast

On white

6.01
#4852DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4852DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4852DA
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4852DA#FFFFFF#000000##FFFFFF
##4852DA1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#005CD7
Tritanopia (blue-blind)
#00758E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4852da;
/* rgb */ color: rgb(72, 82, 218);
/* oklch */ color: oklch(51.5% 0.205 273.5);
Tailwind
colors: {
  custom: {
    50: '#8c83e6',
    500: '#4852da',
    950: '#000000',
  },
}
SCSS
$custom: #4852da;
$custom-light: #8c83e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4852da",
  "rgb": {
    "r": 72,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 235.89,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5154,
    "c": 0.20469,
    "h": 273.5
  },
  "luminance": 0.12474
}

Semantic roles & 50–950 ramp

primary
#4852DA
secondary
#DDD9A1
accent
#DE3FE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4852DA

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

Preview Lab → · Contrast checker → · Palette generator →

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