#4A57D5#4A57D5

#4A57D5 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.1% C 0.192 H 273.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4A57D5
RGBrgb(74, 87, 213)
HSLhsl(234, 62%, 56%)
HSVhsv(234, 65%, 84%)
CMYKcmyk(65.3%, 59.2%, 0%, 16.5%)
CIE-LABlab(42.88, 34.62, -66.46)
CIE-LCHlch(42.88, 74.94, 297.52°)
OKLaboklab(52.13% 0.0109 -0.1914)
OKLCHoklch(52.13% 0.192 273.3)
XYZxyz(18.2385, 13.0747, 64.5004)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A57D5 #D5C84A
analogous
#4A9DD5 #4A57D5 #834AD5
triadic
#4A57D5 #D54A57 #57D54A
tetradic
#4A57D5 #D54A9D #D5C84A #4AD583
square
#4A57D5 #D54A9D #D5C84A #4AD583
split-complementary
#4A57D5 #D5834A #9DD54A
monochromatic
#1F2986 #2B38B7 #4A57D5 #7C85E1 #ADB3EC

Accessibility & contrast

On white

5.81
#4A57D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4A57D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A57D5
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A57D5#FFFFFF#000000##FFFFFF
##4A57D51.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#005FD3
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a57d5;
/* rgb */ color: rgb(74, 87, 213);
/* oklch */ color: oklch(52.1% 0.192 273.3);
Tailwind
colors: {
  custom: {
    50: '#8c86e3',
    500: '#4a57d5',
    950: '#000000',
  },
}
SCSS
$custom: #4a57d5;
$custom-light: #8c86e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a57d5",
  "rgb": {
    "r": 74,
    "g": 87,
    "b": 213
  },
  "hsl": {
    "h": 234.388,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52126,
    "c": 0.19172,
    "h": 273.3
  },
  "luminance": 0.13076
}

Semantic roles & 50–950 ramp

primary
#4A57D5
secondary
#DAD5A1
accent
#D642E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4A57D5

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

Preview Lab → · Contrast checker → · Palette generator →

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