#4852D1#4852D1

#4852D1 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.8% C 0.193 H 273.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4852D1
RGBrgb(72, 82, 209)
HSLhsl(236, 60%, 55%)
HSVhsv(236, 66%, 82%)
CMYKcmyk(65.6%, 60.8%, 0%, 18%)
CIE-LABlab(41.24, 36.07, -66.84)
CIE-LCHlch(41.24, 75.94, 298.35°)
OKLaboklab(50.79% 0.0129 -0.1926)
OKLCHoklch(50.79% 0.193 273.8)
XYZxyz(17.1946, 12.0142, 61.7221)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4852D1 #D1C748
analogous
#4897D1 #4852D1 #8248D1
triadic
#4852D1 #D14852 #52D148
tetradic
#4852D1 #D14897 #D1C748 #48D182
square
#4852D1 #D14897 #D1C748 #48D182
split-complementary
#4852D1 #D18248 #97D148
monochromatic
#20277F #2C36B0 #4852D1 #7980DD #AAAEEA

Accessibility & contrast

On white

6.17
#4852D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4852D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4852D1
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4852D1#FFFFFF#000000##FFFFFF
##4852D11.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4852d1;
/* rgb */ color: rgb(72, 82, 209);
/* oklch */ color: oklch(50.8% 0.193 273.8);
Tailwind
colors: {
  custom: {
    50: '#8a82e0',
    500: '#4852d1',
    950: '#000000',
  },
}
SCSS
$custom: #4852d1;
$custom-light: #8a82e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4852d1",
  "rgb": {
    "r": 72,
    "g": 82,
    "b": 209
  },
  "hsl": {
    "h": 235.62,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50787,
    "c": 0.19304,
    "h": 273.8
  },
  "luminance": 0.12016
}

Semantic roles & 50–950 ramp

primary
#4852D1
secondary
#D7D39E
accent
#D745E3
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4852D1

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

Preview Lab → · Contrast checker → · Palette generator →

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