#4852DD#4852DD

#4852DD is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 51.8% C 0.209 H 273.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4852DD
RGBrgb(72, 82, 221)
HSLhsl(236, 69%, 57%)
HSVhsv(236, 67%, 87%)
CMYKcmyk(67.4%, 62.9%, 0%, 13.3%)
CIE-LABlab(42.20, 40.13, -72.14)
CIE-LCHlch(42.20, 82.55, 299.08°)
OKLaboklab(51.8% 0.0124 -0.2082)
OKLCHoklch(51.8% 0.209 273.4)
XYZxyz(18.7366, 12.6310, 69.8432)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4852DD #DDD348
analogous
#489DDD #4852DD #8848DD
triadic
#4852DD #DD4852 #52DD48
tetradic
#4852DD #DD489D #DDD348 #48DD88
square
#4852DD #DD489D #DDD348 #48DD88
split-complementary
#4852DD #DD8848 #9DDD48
monochromatic
#1B2390 #242FC3 #4852DD #7C83E7 #AFB4F0

Accessibility & contrast

On white

5.95
#4852DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4852DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4852DD
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4852DD#FFFFFF#000000##FFFFFF
##4852DD1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE1
Deuteranopia (green-blind)
#005DDA
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4852dd;
/* rgb */ color: rgb(72, 82, 221);
/* oklch */ color: oklch(51.8% 0.209 273.4);
Tailwind
colors: {
  custom: {
    50: '#8d83e9',
    500: '#4852dd',
    950: '#000000',
  },
}
SCSS
$custom: #4852dd;
$custom-light: #8d83e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4852dd",
  "rgb": {
    "r": 72,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 235.973,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51795,
    "c": 0.20854,
    "h": 273.4
  },
  "luminance": 0.12633
}

Semantic roles & 50–950 ramp

primary
#4852DD
secondary
#DEDAA2
accent
#E03CEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4852DD

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

Preview Lab → · Contrast checker → · Palette generator →

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