#4A57E5#4A57E5

#4A57E5 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.4% C 0.212 H 272.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4A57E5
RGBrgb(74, 87, 229)
HSLhsl(235, 75%, 59%)
HSVhsv(235, 68%, 90%)
CMYKcmyk(67.7%, 62%, 0%, 10.2%)
CIE-LABlab(44.13, 40.04, -73.53)
CIE-LCHlch(44.13, 83.73, 298.57°)
OKLaboklab(53.44% 0.0105 -0.2122)
OKLCHoklch(53.44% 0.212 272.8)
XYZxyz(20.3704, 13.9275, 75.7283)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A57E5 #E5D84A
analogous
#4AA4E5 #4A57E5 #8B4AE5
triadic
#4A57E5 #E54A57 #57E54A
tetradic
#4A57E5 #E54AA4 #E5D84A #4AE58B
square
#4A57E5 #E54AA4 #E5D84A #4AE58B
split-complementary
#4A57E5 #E58B4A #A4E54A
monochromatic
#17229E #1E2ED3 #4A57E5 #8089ED #B5BAF4

Accessibility & contrast

On white

5.55
#4A57E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4A57E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A57E5
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A57E5#FFFFFF#000000##FFFFFF
##4A57E51.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#0061E2
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a57e5;
/* rgb */ color: rgb(74, 87, 229);
/* oklch */ color: oklch(53.4% 0.212 272.8);
Tailwind
colors: {
  custom: {
    50: '#8f86ee',
    500: '#4a57e5',
    950: '#000000',
  },
}
SCSS
$custom: #4a57e5;
$custom-light: #8f86ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4a57e5",
  "rgb": {
    "r": 74,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 234.968,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53441,
    "c": 0.21243,
    "h": 272.8
  },
  "luminance": 0.13929
}

Semantic roles & 50–950 ramp

primary
#4A57E5
secondary
#E4DFA7
accent
#E236F1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4A57E5

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

Preview Lab → · Contrast checker → · Palette generator →

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