#4952CB#4952CB

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

Color values

HEX#4952CB
RGBrgb(73, 82, 203)
HSLhsl(236, 56%, 54%)
HSVhsv(236, 64%, 80%)
CMYKcmyk(64%, 59.6%, 0%, 20.4%)
CIE-LABlab(40.83, 34.18, -64.03)
CIE-LCHlch(40.83, 72.58, 298.09°)
OKLaboklab(50.36% 0.0142 -0.1843)
OKLCHoklch(50.36% 0.185 274.4)
XYZxyz(16.5409, 11.7614, 57.8868)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4952CB #CBC249
analogous
#4993CB #4952CB #8149CB
triadic
#4952CB #CB4952 #52CB49
tetradic
#4952CB #CB4993 #CBC249 #49CB81
square
#4952CB #CB4993 #CBC249 #49CB81
split-complementary
#4952CB #CB8149 #93CB49
monochromatic
#222877 #3038A7 #4952CB #797FD9 #A8ACE6

Accessibility & contrast

On white

6.26
#4952CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4952CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4952CB
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4952CB#FFFFFF#000000##FFFFFF
##4952CB1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4952cb;
/* rgb */ color: rgb(73, 82, 203);
/* oklch */ color: oklch(50.4% 0.185 274.4);
Tailwind
colors: {
  custom: {
    50: '#8a82dc',
    500: '#4952cb',
    950: '#000000',
  },
}
SCSS
$custom: #4952cb;
$custom-light: #8a82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4952cb",
  "rgb": {
    "r": 73,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 235.846,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50359,
    "c": 0.18488,
    "h": 274.4
  },
  "luminance": 0.11763
}

Semantic roles & 50–950 ramp

primary
#4952CB
secondary
#D4D09C
accent
#D449DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4952CB

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

Preview Lab → · Contrast checker → · Palette generator →

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