#4A57E2#4A57E2

#4A57E2 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.2% C 0.209 H 272.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#4A57E2
RGBrgb(74, 87, 226)
HSLhsl(235, 72%, 59%)
HSVhsv(235, 67%, 89%)
CMYKcmyk(67.3%, 61.5%, 0%, 11.4%)
CIE-LABlab(43.89, 39.03, -72.22)
CIE-LCHlch(43.89, 82.09, 298.39°)
OKLaboklab(53.19% 0.0106 -0.2083)
OKLCHoklch(53.19% 0.209 272.9)
XYZxyz(19.9551, 13.7614, 73.5413)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A57E2 #E2D54A
analogous
#4AA3E2 #4A57E2 #894AE2
triadic
#4A57E2 #E24A57 #57E24A
tetradic
#4A57E2 #E24AA3 #E2D54A #4AE289
square
#4A57E2 #E24AA3 #E2D54A #4AE289
split-complementary
#4A57E2 #E2894A #A3E24A
monochromatic
#192499 #2130CE #4A57E2 #7F88EA #B3B9F3

Accessibility & contrast

On white

5.60
#4A57E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4A57E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A57E2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A57E2#FFFFFF#000000##FFFFFF
##4A57E21.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#0061DF
Tritanopia (blue-blind)
#007A94
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a57e2;
/* rgb */ color: rgb(74, 87, 226);
/* oklch */ color: oklch(53.2% 0.209 272.9);
Tailwind
colors: {
  custom: {
    50: '#8e86ec',
    500: '#4a57e2',
    950: '#000000',
  },
}
SCSS
$custom: #4a57e2;
$custom-light: #8e86ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4a57e2",
  "rgb": {
    "r": 74,
    "g": 87,
    "b": 226
  },
  "hsl": {
    "h": 234.868,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5319,
    "c": 0.2086,
    "h": 272.9
  },
  "luminance": 0.13763
}

Semantic roles & 50–950 ramp

primary
#4A57E2
secondary
#E2DDA6
accent
#DF39EF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4A57E2

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

Preview Lab → · Contrast checker → · Palette generator →

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