#4956D4#4956D4

#4956D4 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.8% C 0.192 H 273.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4956D4
RGBrgb(73, 86, 212)
HSLhsl(234, 62%, 56%)
HSVhsv(234, 66%, 83%)
CMYKcmyk(65.6%, 59.4%, 0%, 16.9%)
CIE-LABlab(42.50, 34.75, -66.51)
CIE-LCHlch(42.50, 75.04, 297.59°)
OKLaboklab(51.81% 0.0107 -0.1916)
OKLCHoklch(51.81% 0.192 273.2)
XYZxyz(17.9551, 12.8239, 63.8036)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4956D4 #D4C749
analogous
#499CD4 #4956D4 #8149D4
triadic
#4956D4 #D44956 #56D449
tetradic
#4956D4 #D4499C #D4C749 #49D481
square
#4956D4 #D4499C #D4C749 #49D481
split-complementary
#4956D4 #D48149 #9CD449
monochromatic
#1F2884 #2B38B5 #4956D4 #7B84E0 #ACB2EB

Accessibility & contrast

On white

5.89
#4956D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4956D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4956D4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4956D4#FFFFFF#000000##FFFFFF
##4956D41.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4956d4;
/* rgb */ color: rgb(73, 86, 212);
/* oklch */ color: oklch(51.8% 0.192 273.2);
Tailwind
colors: {
  custom: {
    50: '#8b85e2',
    500: '#4956d4',
    950: '#000000',
  },
}
SCSS
$custom: #4956d4;
$custom-light: #8b85e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4956d4",
  "rgb": {
    "r": 73,
    "g": 86,
    "b": 212
  },
  "hsl": {
    "h": 234.388,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51805,
    "c": 0.19188,
    "h": 273.2
  },
  "luminance": 0.12826
}

Semantic roles & 50–950 ramp

primary
#4956D4
secondary
#D9D4A0
accent
#D643E5
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4956D4

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

Preview Lab → · Contrast checker → · Palette generator →

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