#4956D5#4956D5

#4956D5 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.193 H 273.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4956D5
RGBrgb(73, 86, 213)
HSLhsl(234, 63%, 56%)
HSVhsv(234, 66%, 84%)
CMYKcmyk(65.7%, 59.6%, 0%, 16.5%)
CIE-LABlab(42.57, 35.09, -66.95)
CIE-LCHlch(42.57, 75.59, 297.66°)
OKLaboklab(51.89% 0.0107 -0.1929)
OKLCHoklch(51.89% 0.193 273.2)
XYZxyz(18.0817, 12.8745, 64.4700)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4956D5 #D5C849
analogous
#499CD5 #4956D5 #8249D5
triadic
#4956D5 #D54956 #56D549
tetradic
#4956D5 #D5499C #D5C849 #49D582
square
#4956D5 #D5499C #D5C849 #49D582
split-complementary
#4956D5 #D58249 #9CD549
monochromatic
#1F2885 #2A37B7 #4956D5 #7B84E0 #ACB2EC

Accessibility & contrast

On white

5.87
#4956D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4956D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4956D5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4956D5#FFFFFF#000000##FFFFFF
##4956D51.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#005ED2
Tritanopia (blue-blind)
#00768D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4956d5;
/* rgb */ color: rgb(73, 86, 213);
/* oklch */ color: oklch(51.9% 0.193 273.2);
Tailwind
colors: {
  custom: {
    50: '#8b85e3',
    500: '#4956d5',
    950: '#000000',
  },
}
SCSS
$custom: #4956d5;
$custom-light: #8b85e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4956d5",
  "rgb": {
    "r": 73,
    "g": 86,
    "b": 213
  },
  "hsl": {
    "h": 234.429,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51886,
    "c": 0.19319,
    "h": 273.2
  },
  "luminance": 0.12876
}

Semantic roles & 50–950 ramp

primary
#4956D5
secondary
#DAD4A0
accent
#D642E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4956D5

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

Preview Lab → · Contrast checker → · Palette generator →

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