#4956E4#4956E4

#4956E4 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.1% C 0.213 H 272.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#4956E4
RGBrgb(73, 86, 228)
HSLhsl(235, 74%, 59%)
HSVhsv(235, 68%, 89%)
CMYKcmyk(68%, 62.3%, 0%, 10.6%)
CIE-LABlab(43.76, 40.18, -73.57)
CIE-LCHlch(43.76, 83.83, 298.64°)
OKLaboklab(53.13% 0.0102 -0.2123)
OKLCHoklch(53.13% 0.213 272.7)
XYZxyz(20.0743, 13.6716, 74.9647)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4956E4 #E4D749
analogous
#49A4E4 #4956E4 #8A49E4
triadic
#4956E4 #E44956 #56E449
tetradic
#4956E4 #E449A4 #E4D749 #49E48A
square
#4956E4 #E449A4 #E4D749 #49E48A
split-complementary
#4956E4 #E48A49 #A4E449
monochromatic
#17229C #1F2ED1 #4956E4 #7E87EC #B4B9F4

Accessibility & contrast

On white

5.62
#4956E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4956E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4956E4
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4956E4#FFFFFF#000000##FFFFFF
##4956E41.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#0060E1
Tritanopia (blue-blind)
#007A95
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4956e4;
/* rgb */ color: rgb(73, 86, 228);
/* oklch */ color: oklch(53.1% 0.213 272.7);
Tailwind
colors: {
  custom: {
    50: '#8e86ee',
    500: '#4956e4',
    950: '#000000',
  },
}
SCSS
$custom: #4956e4;
$custom-light: #8e86ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4956e4",
  "rgb": {
    "r": 73,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 234.968,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53129,
    "c": 0.21256,
    "h": 272.7
  },
  "luminance": 0.13673
}

Semantic roles & 50–950 ramp

primary
#4956E4
secondary
#E3DEA6
accent
#E137F1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4956E4

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

Preview Lab → · Contrast checker → · Palette generator →

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