#4957E4#4957E4

#4957E4 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.3% C 0.211 H 272.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4957E4
RGBrgb(73, 87, 228)
HSLhsl(235, 74%, 59%)
HSVhsv(235, 68%, 89%)
CMYKcmyk(68%, 61.8%, 0%, 10.6%)
CIE-LABlab(43.99, 39.58, -73.19)
CIE-LCHlch(43.99, 83.20, 298.40°)
OKLaboklab(53.3% 0.0095 -0.2112)
OKLCHoklch(53.3% 0.211 272.6)
XYZxyz(20.1547, 13.8324, 74.9915)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4957E4 #E4D649
analogous
#49A5E4 #4957E4 #8949E4
triadic
#4957E4 #E44957 #57E449
tetradic
#4957E4 #E449A5 #E4D649 #49E489
square
#4957E4 #E449A5 #E4D649 #49E489
split-complementary
#4957E4 #E48949 #A5E449
monochromatic
#17239C #1F2FD1 #4957E4 #7E88EC #B4B9F4

Accessibility & contrast

On white

5.58
#4957E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4957E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4957E4
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4957E4#FFFFFF#000000##FFFFFF
##4957E41.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#007B95
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4957e4;
/* rgb */ color: rgb(73, 87, 228);
/* oklch */ color: oklch(53.3% 0.211 272.6);
Tailwind
colors: {
  custom: {
    50: '#8e86ee',
    500: '#4957e4',
    950: '#000000',
  },
}
SCSS
$custom: #4957e4;
$custom-light: #8e86ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4957e4",
  "rgb": {
    "r": 73,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 234.581,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.533,
    "c": 0.2114,
    "h": 272.6
  },
  "luminance": 0.13834
}

Semantic roles & 50–950 ramp

primary
#4957E4
secondary
#E3DDA6
accent
#E037F1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4957E4

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

Preview Lab → · Contrast checker → · Palette generator →

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