#4956D9#4956D9

#4956D9 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.2% C 0.198 H 273.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4956D9
RGBrgb(73, 86, 217)
HSLhsl(235, 65%, 57%)
HSVhsv(235, 66%, 85%)
CMYKcmyk(66.4%, 60.4%, 0%, 14.9%)
CIE-LABlab(42.88, 36.46, -68.74)
CIE-LCHlch(42.88, 77.81, 297.94°)
OKLaboklab(52.21% 0.0106 -0.1981)
OKLCHoklch(52.21% 0.198 273.1)
XYZxyz(18.5956, 13.0801, 67.1769)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4956D9 #D9CC49
analogous
#499ED9 #4956D9 #8449D9
triadic
#4956D9 #D94956 #56D949
tetradic
#4956D9 #D9499E #D9CC49 #49D984
square
#4956D9 #D9499E #D9CC49 #49D984
split-complementary
#4956D9 #D98449 #9ED949
monochromatic
#1D278B #2835BD #4956D9 #7C85E4 #AEB4EE

Accessibility & contrast

On white

5.81
#4956D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4956D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4956D9
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4956D9#FFFFFF#000000##FFFFFF
##4956D91.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#005FD6
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4956d9;
/* rgb */ color: rgb(73, 86, 217);
/* oklch */ color: oklch(52.2% 0.198 273.1);
Tailwind
colors: {
  custom: {
    50: '#8c85e6',
    500: '#4956d9',
    950: '#000000',
  },
}
SCSS
$custom: #4956d9;
$custom-light: #8c85e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4956d9",
  "rgb": {
    "r": 73,
    "g": 86,
    "b": 217
  },
  "hsl": {
    "h": 234.583,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52213,
    "c": 0.19842,
    "h": 273.1
  },
  "luminance": 0.13082
}

Semantic roles & 50–950 ramp

primary
#4956D9
secondary
#DCD7A2
accent
#D93FE8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4956D9

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

Preview Lab → · Contrast checker → · Palette generator →

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