#4A57E6#4A57E6

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

Color values

HEX#4A57E6
RGBrgb(74, 87, 230)
HSLhsl(235, 76%, 60%)
HSVhsv(235, 68%, 90%)
CMYKcmyk(67.8%, 62.2%, 0%, 9.8%)
CIE-LABlab(44.21, 40.38, -73.96)
CIE-LCHlch(44.21, 84.27, 298.63°)
OKLaboklab(53.53% 0.0104 -0.2134)
OKLCHoklch(53.53% 0.214 272.8)
XYZxyz(20.5104, 13.9835, 76.4658)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A57E6 #E6D94A
analogous
#4AA5E6 #4A57E6 #8B4AE6
triadic
#4A57E6 #E64A57 #57E64A
tetradic
#4A57E6 #E64AA5 #E6D94A #4AE68B
square
#4A57E6 #E64AA5 #E6D94A #4AE68B
split-complementary
#4A57E6 #E68B4A #A5E64A
monochromatic
#1621A0 #1D2DD5 #4A57E6 #8089ED #B6BBF5

Accessibility & contrast

On white

5.53
#4A57E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4A57E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A57E6
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A57E6#FFFFFF#000000##FFFFFF
##4A57E61.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a57e6;
/* rgb */ color: rgb(74, 87, 230);
/* oklch */ color: oklch(53.5% 0.214 272.8);
Tailwind
colors: {
  custom: {
    50: '#8f86ef',
    500: '#4a57e6',
    950: '#000000',
  },
}
SCSS
$custom: #4a57e6;
$custom-light: #8f86ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4a57e6",
  "rgb": {
    "r": 74,
    "g": 87,
    "b": 230
  },
  "hsl": {
    "h": 235,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53525,
    "c": 0.21369,
    "h": 272.8
  },
  "luminance": 0.13985
}

Semantic roles & 50–950 ramp

primary
#4A57E6
secondary
#E4DFA8
accent
#E335F2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4A57E6

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

Preview Lab → · Contrast checker → · Palette generator →

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