#4956D7#4956D7

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

Color values

HEX#4956D7
RGBrgb(73, 86, 215)
HSLhsl(235, 64%, 56%)
HSVhsv(235, 66%, 84%)
CMYKcmyk(66%, 60%, 0%, 15.7%)
CIE-LABlab(42.73, 35.77, -67.85)
CIE-LCHlch(42.73, 76.70, 297.80°)
OKLaboklab(52.05% 0.0106 -0.1955)
OKLCHoklch(52.05% 0.196 273.1)
XYZxyz(18.3371, 12.9767, 65.8152)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4956D7 #D7CA49
analogous
#499DD7 #4956D7 #8349D7
triadic
#4956D7 #D74956 #56D749
tetradic
#4956D7 #D7499D #D7CA49 #49D783
square
#4956D7 #D7499D #D7CA49 #49D783
split-complementary
#4956D7 #D78349 #9DD749
monochromatic
#1E2888 #2936BA #4956D7 #7B85E2 #ADB3ED

Accessibility & contrast

On white

5.84
#4956D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4956D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4956D7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4956D7#FFFFFF#000000##FFFFFF
##4956D71.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#005FD4
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4956d7;
/* rgb */ color: rgb(73, 86, 215);
/* oklch */ color: oklch(52.0% 0.196 273.1);
Tailwind
colors: {
  custom: {
    50: '#8c85e4',
    500: '#4956d7',
    950: '#000000',
  },
}
SCSS
$custom: #4956d7;
$custom-light: #8c85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4956d7",
  "rgb": {
    "r": 73,
    "g": 86,
    "b": 215
  },
  "hsl": {
    "h": 234.507,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52049,
    "c": 0.19581,
    "h": 273.1
  },
  "luminance": 0.12978
}

Semantic roles & 50–950 ramp

primary
#4956D7
secondary
#DBD6A1
accent
#D841E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4956D7

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

Preview Lab → · Contrast checker → · Palette generator →

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