#4956CD#4956CD

#4956CD is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.2% C 0.183 H 273.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#4956CD
RGBrgb(73, 86, 205)
HSLhsl(234, 57%, 55%)
HSVhsv(234, 64%, 80%)
CMYKcmyk(64.4%, 58%, 0%, 19.6%)
CIE-LABlab(41.97, 32.36, -63.34)
CIE-LCHlch(41.97, 71.13, 297.06°)
OKLaboklab(51.25% 0.0107 -0.1823)
OKLCHoklch(51.25% 0.183 273.4)
XYZxyz(17.0912, 12.4783, 59.2536)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4956CD #CDC049
analogous
#4998CD #4956CD #7E49CD
triadic
#4956CD #CD4956 #56CD49
tetradic
#4956CD #CD4998 #CDC049 #49CD7E
square
#4956CD #CD4998 #CDC049 #49CD7E
split-complementary
#4956CD #CD7E49 #98CD49
monochromatic
#222A7A #2F3BAA #4956CD #7983DA #A9AFE7

Accessibility & contrast

On white

6.01
#4956CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4956CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4956CD
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4956CD#FFFFFF#000000##FFFFFF
##4956CD1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4956cd;
/* rgb */ color: rgb(73, 86, 205);
/* oklch */ color: oklch(51.2% 0.183 273.4);
Tailwind
colors: {
  custom: {
    50: '#8a85dd',
    500: '#4956cd',
    950: '#000000',
  },
}
SCSS
$custom: #4956cd;
$custom-light: #8a85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4956cd",
  "rgb": {
    "r": 73,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 234.091,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51246,
    "c": 0.1826,
    "h": 273.4
  },
  "luminance": 0.1248
}

Semantic roles & 50–950 ramp

primary
#4956CD
secondary
#D5CF9D
accent
#D148E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4956CD

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

Preview Lab → · Contrast checker → · Palette generator →

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