#4957E6#4957E6

#4957E6 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.5% C 0.214 H 272.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4957E6
RGBrgb(73, 87, 230)
HSLhsl(235, 76%, 59%)
HSVhsv(235, 68%, 90%)
CMYKcmyk(68.3%, 62.2%, 0%, 9.8%)
CIE-LABlab(44.15, 40.25, -74.06)
CIE-LCHlch(44.15, 84.29, 298.52°)
OKLaboklab(53.47% 0.0094 -0.2137)
OKLCHoklch(53.47% 0.214 272.5)
XYZxyz(20.4340, 13.9441, 76.4622)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4957E6 #E6D849
analogous
#49A5E6 #4957E6 #8A49E6
triadic
#4957E6 #E64957 #57E649
tetradic
#4957E6 #E649A5 #E6D849 #49E68A
square
#4957E6 #E649A5 #E6D849 #49E68A
split-complementary
#4957E6 #E68A49 #A5E649
monochromatic
#16229F #1D2ED5 #4957E6 #7F89ED #B5BAF5

Accessibility & contrast

On white

5.54
#4957E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4957E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4957E6
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4957E6#FFFFFF#000000##FFFFFF
##4957E61.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#0061E3
Tritanopia (blue-blind)
#007C96
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4957e6;
/* rgb */ color: rgb(73, 87, 230);
/* oklch */ color: oklch(53.5% 0.214 272.5);
Tailwind
colors: {
  custom: {
    50: '#8f86ef',
    500: '#4957e6',
    950: '#000000',
  },
}
SCSS
$custom: #4957e6;
$custom-light: #8f86ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4957e6",
  "rgb": {
    "r": 73,
    "g": 87,
    "b": 230
  },
  "hsl": {
    "h": 234.65,
    "s": 75.845,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53468,
    "c": 0.21394,
    "h": 272.5
  },
  "luminance": 0.13946
}

Semantic roles & 50–950 ramp

primary
#4957E6
secondary
#E4DFA7
accent
#E235F2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4957E6

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

Preview Lab → · Contrast checker → · Palette generator →

#4957E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva