#4952CD#4952CD

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

Color values

HEX#4952CD
RGBrgb(73, 82, 205)
HSLhsl(236, 57%, 55%)
HSVhsv(236, 64%, 80%)
CMYKcmyk(64.4%, 60%, 0%, 19.6%)
CIE-LABlab(40.99, 34.86, -64.93)
CIE-LCHlch(40.99, 73.70, 298.23°)
OKLaboklab(50.52% 0.0141 -0.187)
OKLCHoklch(50.52% 0.188 274.3)
XYZxyz(16.7808, 11.8574, 59.1502)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4952CD #CDC449
analogous
#4994CD #4952CD #8249CD
triadic
#4952CD #CD4952 #52CD49
tetradic
#4952CD #CD4994 #CDC449 #49CD82
square
#4952CD #CD4994 #CDC449 #49CD82
split-complementary
#4952CD #CD8249 #94CD49
monochromatic
#22287A #2F37AA #4952CD #7980DA #A9ADE7

Accessibility & contrast

On white

6.23
#4952CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4952CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4952CD
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4952CD#FFFFFF#000000##FFFFFF
##4952CD1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#005BCB
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4952cd;
/* rgb */ color: rgb(73, 82, 205);
/* oklch */ color: oklch(50.5% 0.188 274.3);
Tailwind
colors: {
  custom: {
    50: '#8a82dd',
    500: '#4952cd',
    950: '#000000',
  },
}
SCSS
$custom: #4952cd;
$custom-light: #8a82dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4952cd",
  "rgb": {
    "r": 73,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 235.909,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50521,
    "c": 0.18753,
    "h": 274.3
  },
  "luminance": 0.11859
}

Semantic roles & 50–950 ramp

primary
#4952CD
secondary
#D5D19D
accent
#D648E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4952CD

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

Preview Lab → · Contrast checker → · Palette generator →

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