#4952CF#4952CF

#4952CF is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.7% C 0.190 H 274.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4952CF
RGBrgb(73, 82, 207)
HSLhsl(236, 58%, 55%)
HSVhsv(236, 65%, 81%)
CMYKcmyk(64.7%, 60.4%, 0%, 18.8%)
CIE-LABlab(41.14, 35.53, -65.84)
CIE-LCHlch(41.14, 74.81, 298.36°)
OKLaboklab(50.68% 0.0141 -0.1897)
OKLCHoklch(50.68% 0.19 274.2)
XYZxyz(17.0237, 11.9546, 60.4297)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4952CF #CFC649
analogous
#4995CF #4952CF #8349CF
triadic
#4952CF #CF4952 #52CF49
tetradic
#4952CF #CF4995 #CFC649 #49CF83
square
#4952CF #CF4995 #CFC649 #49CF83
split-complementary
#4952CF #CF8349 #95CF49
monochromatic
#21277D #2E36AD #4952CF #7980DC #AAAEE9

Accessibility & contrast

On white

6.19
#4952CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4952CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4952CF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4952CF#FFFFFF#000000##FFFFFF
##4952CF1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#005BCD
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4952cf;
/* rgb */ color: rgb(73, 82, 207);
/* oklch */ color: oklch(50.7% 0.190 274.2);
Tailwind
colors: {
  custom: {
    50: '#8a82df',
    500: '#4952cf',
    950: '#000000',
  },
}
SCSS
$custom: #4952cf;
$custom-light: #8a82df;
$custom-dark: #000000;
JSON
{
  "hex": "#4952cf",
  "rgb": {
    "r": 73,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 235.97,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50684,
    "c": 0.19017,
    "h": 274.2
  },
  "luminance": 0.11956
}

Semantic roles & 50–950 ramp

primary
#4952CF
secondary
#D6D29E
accent
#D746E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4952CF

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

Preview Lab → · Contrast checker → · Palette generator →

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