#4852D3#4852D3

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

Color values

HEX#4852D3
RGBrgb(72, 82, 211)
HSLhsl(236, 61%, 55%)
HSVhsv(236, 66%, 83%)
CMYKcmyk(65.9%, 61.1%, 0%, 17.3%)
CIE-LABlab(41.40, 36.74, -67.73)
CIE-LCHlch(41.40, 77.05, 298.48°)
OKLaboklab(50.95% 0.0128 -0.1952)
OKLCHoklch(50.95% 0.196 273.8)
XYZxyz(17.4437, 12.1139, 63.0343)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4852D3 #D3C948
analogous
#4898D3 #4852D3 #8348D3
triadic
#4852D3 #D34852 #52D348
tetradic
#4852D3 #D34898 #D3C948 #48D383
square
#4852D3 #D34898 #D3C948 #48D383
split-complementary
#4852D3 #D38348 #98D348
monochromatic
#1F2681 #2B35B3 #4852D3 #7981DF #ABAFEB

Accessibility & contrast

On white

6.13
#4852D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4852D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4852D3
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4852D3#FFFFFF#000000##FFFFFF
##4852D31.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#005BD0
Tritanopia (blue-blind)
#00728B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4852d3;
/* rgb */ color: rgb(72, 82, 211);
/* oklch */ color: oklch(51.0% 0.196 273.8);
Tailwind
colors: {
  custom: {
    50: '#8b82e1',
    500: '#4852d3',
    950: '#000000',
  },
}
SCSS
$custom: #4852d3;
$custom-light: #8b82e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4852d3",
  "rgb": {
    "r": 72,
    "g": 82,
    "b": 211
  },
  "hsl": {
    "h": 235.683,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50953,
    "c": 0.19565,
    "h": 273.8
  },
  "luminance": 0.12115
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4852D3

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

Preview Lab → · Contrast checker → · Palette generator →

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