#4852D2#4852D2

#4852D2 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.9% C 0.194 H 273.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4852D2
RGBrgb(72, 82, 210)
HSLhsl(236, 61%, 55%)
HSVhsv(236, 66%, 82%)
CMYKcmyk(65.7%, 61%, 0%, 17.6%)
CIE-LABlab(41.32, 36.40, -67.28)
CIE-LCHlch(41.32, 76.50, 298.42°)
OKLaboklab(50.87% 0.0129 -0.1939)
OKLCHoklch(50.87% 0.194 273.8)
XYZxyz(17.3188, 12.0639, 62.3762)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4852D2 #D2C848
analogous
#4897D2 #4852D2 #8348D2
triadic
#4852D2 #D24852 #52D248
tetradic
#4852D2 #D24897 #D2C848 #48D283
square
#4852D2 #D24897 #D2C848 #48D283
split-complementary
#4852D2 #D28348 #97D248
monochromatic
#202780 #2C35B1 #4852D2 #7980DE #AAAFEA

Accessibility & contrast

On white

6.15
#4852D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4852D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4852D2
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4852D2#FFFFFF#000000##FFFFFF
##4852D21.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#005BCF
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4852d2;
/* rgb */ color: rgb(72, 82, 210);
/* oklch */ color: oklch(50.9% 0.194 273.8);
Tailwind
colors: {
  custom: {
    50: '#8b82e1',
    500: '#4852d2',
    950: '#000000',
  },
}
SCSS
$custom: #4852d2;
$custom-light: #8b82e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4852d2",
  "rgb": {
    "r": 72,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 235.652,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5087,
    "c": 0.19435,
    "h": 273.8
  },
  "luminance": 0.12065
}

Semantic roles & 50–950 ramp

primary
#4852D2
secondary
#D8D49E
accent
#D844E4
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4852D2

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

Preview Lab → · Contrast checker → · Palette generator →

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