#4852D5#4852D5

#4852D5 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.198 H 273.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#4852D5
RGBrgb(72, 82, 213)
HSLhsl(236, 63%, 56%)
HSVhsv(236, 66%, 84%)
CMYKcmyk(66.2%, 61.5%, 0%, 16.5%)
CIE-LABlab(41.56, 37.42, -68.62)
CIE-LCHlch(41.56, 78.16, 298.61°)
OKLaboklab(51.12% 0.0128 -0.1978)
OKLCHoklch(51.12% 0.198 273.7)
XYZxyz(17.6960, 12.2148, 64.3630)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4852D5 #D5CB48
analogous
#4898D5 #4852D5 #8448D5
triadic
#4852D5 #D54852 #52D548
tetradic
#4852D5 #D54898 #D5CB48 #48D584
square
#4852D5 #D54898 #D5CB48 #48D584
split-complementary
#4852D5 #D58448 #98D548
monochromatic
#1E2684 #2A34B6 #4852D5 #7A81E0 #ACB0EC

Accessibility & contrast

On white

6.10
#4852D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4852D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4852D5
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4852D5#FFFFFF#000000##FFFFFF
##4852D51.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#005CD2
Tritanopia (blue-blind)
#00738C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4852d5;
/* rgb */ color: rgb(72, 82, 213);
/* oklch */ color: oklch(51.1% 0.198 273.7);
Tailwind
colors: {
  custom: {
    50: '#8b82e3',
    500: '#4852d5',
    950: '#000000',
  },
}
SCSS
$custom: #4852d5;
$custom-light: #8b82e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4852d5",
  "rgb": {
    "r": 72,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 235.745,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51119,
    "c": 0.19825,
    "h": 273.7
  },
  "luminance": 0.12216
}

Semantic roles & 50–950 ramp

primary
#4852D5
secondary
#DAD59F
accent
#DA42E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4852D5

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

Preview Lab → · Contrast checker → · Palette generator →

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