#4952CE#4952CE

#4952CE is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.6% C 0.189 H 274.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4952CE
RGBrgb(73, 82, 206)
HSLhsl(236, 58%, 55%)
HSVhsv(236, 65%, 81%)
CMYKcmyk(64.6%, 60.2%, 0%, 19.2%)
CIE-LABlab(41.07, 35.20, -65.39)
CIE-LCHlch(41.07, 74.26, 298.29°)
OKLaboklab(50.6% 0.0141 -0.1883)
OKLCHoklch(50.6% 0.189 274.3)
XYZxyz(16.9018, 11.9058, 59.7879)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4952CE #CEC549
analogous
#4994CE #4952CE #8349CE
triadic
#4952CE #CE4952 #52CE49
tetradic
#4952CE #CE4994 #CEC549 #49CE83
square
#4952CE #CE4994 #CEC549 #49CE83
split-complementary
#4952CE #CE8349 #94CE49
monochromatic
#21277B #2E37AC #4952CE #7980DB #A9AEE8

Accessibility & contrast

On white

6.21
#4952CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4952CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4952CE
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4952CE#FFFFFF#000000##FFFFFF
##4952CE1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4952ce;
/* rgb */ color: rgb(73, 82, 206);
/* oklch */ color: oklch(50.6% 0.189 274.3);
Tailwind
colors: {
  custom: {
    50: '#8a82de',
    500: '#4952ce',
    950: '#000000',
  },
}
SCSS
$custom: #4952ce;
$custom-light: #8a82de;
$custom-dark: #000000;
JSON
{
  "hex": "#4952ce",
  "rgb": {
    "r": 73,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 235.94,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50603,
    "c": 0.18885,
    "h": 274.3
  },
  "luminance": 0.11907
}

Semantic roles & 50–950 ramp

primary
#4952CE
secondary
#D5D29D
accent
#D647E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4952CE

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

Preview Lab → · Contrast checker → · Palette generator →

#4952CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva