#4A57E7#4A57E7

#4A57E7 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.6% C 0.215 H 272.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4A57E7
RGBrgb(74, 87, 231)
HSLhsl(235, 77%, 60%)
HSVhsv(235, 68%, 91%)
CMYKcmyk(68%, 62.3%, 0%, 9.4%)
CIE-LABlab(44.29, 40.72, -74.40)
CIE-LCHlch(44.29, 84.81, 298.69°)
OKLaboklab(53.61% 0.0104 -0.2147)
OKLCHoklch(53.61% 0.215 272.8)
XYZxyz(20.6512, 14.0398, 77.2074)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A57E7 #E7DA4A
analogous
#4AA5E7 #4A57E7 #8C4AE7
triadic
#4A57E7 #E74A57 #57E74A
tetradic
#4A57E7 #E74AA5 #E7DA4A #4AE78C
square
#4A57E7 #E74AA5 #E7DA4A #4AE78C
split-complementary
#4A57E7 #E78C4A #A5E74A
monochromatic
#1521A1 #1D2CD7 #4A57E7 #8089EE #B6BBF5

Accessibility & contrast

On white

5.51
#4A57E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4A57E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A57E7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A57E7#FFFFFF#000000##FFFFFF
##4A57E71.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EC
Deuteranopia (green-blind)
#0062E4
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4a57e7;
/* rgb */ color: rgb(74, 87, 231);
/* oklch */ color: oklch(53.6% 0.215 272.8);
Tailwind
colors: {
  custom: {
    50: '#8f86f0',
    500: '#4a57e7',
    950: '#000000',
  },
}
SCSS
$custom: #4a57e7;
$custom-light: #8f86f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a57e7",
  "rgb": {
    "r": 74,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 235.032,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53609,
    "c": 0.21497,
    "h": 272.8
  },
  "luminance": 0.14042
}

Semantic roles & 50–950 ramp

primary
#4A57E7
secondary
#E5E0A8
accent
#E335F3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4A57E7

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

Preview Lab → · Contrast checker → · Palette generator →

#4A57E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva