#4A57D6#4A57D6

#4A57D6 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.2% C 0.193 H 273.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4A57D6
RGBrgb(74, 87, 214)
HSLhsl(234, 63%, 56%)
HSVhsv(234, 65%, 84%)
CMYKcmyk(65.4%, 59.3%, 0%, 16.1%)
CIE-LABlab(42.95, 34.96, -66.91)
CIE-LCHlch(42.95, 75.49, 297.59°)
OKLaboklab(52.21% 0.0109 -0.1927)
OKLCHoklch(52.21% 0.193 273.2)
XYZxyz(18.3658, 13.1256, 65.1709)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A57D6 #D6C94A
analogous
#4A9DD6 #4A57D6 #834AD6
triadic
#4A57D6 #D64A57 #57D64A
tetradic
#4A57D6 #D64A9D #D6C94A #4AD683
square
#4A57D6 #D64A9D #D6C94A #4AD683
split-complementary
#4A57D6 #D6834A #9DD64A
monochromatic
#1F2887 #2A37B9 #4A57D6 #7C85E1 #AEB4ED

Accessibility & contrast

On white

5.79
#4A57D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4A57D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A57D6
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A57D6#FFFFFF#000000##FFFFFF
##4A57D61.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a57d6;
/* rgb */ color: rgb(74, 87, 214);
/* oklch */ color: oklch(52.2% 0.193 273.2);
Tailwind
colors: {
  custom: {
    50: '#8c86e4',
    500: '#4a57d6',
    950: '#000000',
  },
}
SCSS
$custom: #4a57d6;
$custom-light: #8c86e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a57d6",
  "rgb": {
    "r": 74,
    "g": 87,
    "b": 214
  },
  "hsl": {
    "h": 234.429,
    "s": 63.063,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52206,
    "c": 0.19304,
    "h": 273.2
  },
  "luminance": 0.13127
}

Semantic roles & 50–950 ramp

primary
#4A57D6
secondary
#DBD5A1
accent
#D742E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4A57D6

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

Preview Lab → · Contrast checker → · Palette generator →

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