#4952CC#4952CC

#4952CC is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.4% C 0.186 H 274.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#4952CC
RGBrgb(73, 82, 204)
HSLhsl(236, 56%, 54%)
HSVhsv(236, 64%, 80%)
CMYKcmyk(64.2%, 59.8%, 0%, 20%)
CIE-LABlab(40.91, 34.52, -64.48)
CIE-LCHlch(40.91, 73.14, 298.16°)
OKLaboklab(50.44% 0.0142 -0.1857)
OKLCHoklch(50.44% 0.186 274.4)
XYZxyz(16.6604, 11.8093, 58.5165)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4952CC #CCC349
analogous
#4994CC #4952CC #8249CC
triadic
#4952CC #CC4952 #52CC49
tetradic
#4952CC #CC4994 #CCC349 #49CC82
square
#4952CC #CC4994 #CCC349 #49CC82
split-complementary
#4952CC #CC8249 #94CC49
monochromatic
#222879 #2F38A9 #4952CC #797FD9 #A9ADE7

Accessibility & contrast

On white

6.25
#4952CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4952CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4952CC
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4952CC#FFFFFF#000000##FFFFFF
##4952CC1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4952cc;
/* rgb */ color: rgb(73, 82, 204);
/* oklch */ color: oklch(50.4% 0.186 274.4);
Tailwind
colors: {
  custom: {
    50: '#8a82dc',
    500: '#4952cc',
    950: '#000000',
  },
}
SCSS
$custom: #4952cc;
$custom-light: #8a82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4952cc",
  "rgb": {
    "r": 73,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 235.878,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5044,
    "c": 0.18621,
    "h": 274.4
  },
  "luminance": 0.11811
}

Semantic roles & 50–950 ramp

primary
#4952CC
secondary
#D4D09D
accent
#D548E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4952CC

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

Preview Lab → · Contrast checker → · Palette generator →

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