#4956D8#4956D8

#4956D8 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.1% C 0.197 H 273.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4956D8
RGBrgb(73, 86, 216)
HSLhsl(235, 65%, 57%)
HSVhsv(235, 66%, 85%)
CMYKcmyk(66.2%, 60.2%, 0%, 15.3%)
CIE-LABlab(42.81, 36.12, -68.29)
CIE-LCHlch(42.81, 77.26, 297.87°)
OKLaboklab(52.13% 0.0106 -0.1968)
OKLCHoklch(52.13% 0.197 273.1)
XYZxyz(18.4660, 13.0282, 66.4940)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4956D8 #D8CB49
analogous
#499ED8 #4956D8 #8349D8
triadic
#4956D8 #D84956 #56D849
tetradic
#4956D8 #D8499E #D8CB49 #49D883
square
#4956D8 #D8499E #D8CB49 #49D883
split-complementary
#4956D8 #D88349 #9ED849
monochromatic
#1D2789 #2836BC #4956D8 #7B85E3 #AEB4EE

Accessibility & contrast

On white

5.82
#4956D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4956D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4956D8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4956D8#FFFFFF#000000##FFFFFF
##4956D81.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#005FD5
Tritanopia (blue-blind)
#00768F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4956d8;
/* rgb */ color: rgb(73, 86, 216);
/* oklch */ color: oklch(52.1% 0.197 273.1);
Tailwind
colors: {
  custom: {
    50: '#8c85e5',
    500: '#4956d8',
    950: '#000000',
  },
}
SCSS
$custom: #4956d8;
$custom-light: #8c85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4956d8",
  "rgb": {
    "r": 73,
    "g": 86,
    "b": 216
  },
  "hsl": {
    "h": 234.545,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52131,
    "c": 0.19712,
    "h": 273.1
  },
  "luminance": 0.1303
}

Semantic roles & 50–950 ramp

primary
#4956D8
secondary
#DCD6A1
accent
#D840E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4956D8

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

Preview Lab → · Contrast checker → · Palette generator →

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