#4A57D4#4A57D4

#4A57D4 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.0% C 0.190 H 273.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4A57D4
RGBrgb(74, 87, 212)
HSLhsl(234, 62%, 56%)
HSVhsv(234, 65%, 83%)
CMYKcmyk(65.1%, 59%, 0%, 16.9%)
CIE-LABlab(42.80, 34.28, -66.01)
CIE-LCHlch(42.80, 74.38, 297.44°)
OKLaboklab(52.05% 0.0109 -0.1901)
OKLCHoklch(52.05% 0.19 273.3)
XYZxyz(18.1119, 13.0241, 63.8340)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A57D4 #D4C74A
analogous
#4A9CD4 #4A57D4 #824AD4
triadic
#4A57D4 #D44A57 #57D44A
tetradic
#4A57D4 #D44A9C #D4C74A #4AD482
square
#4A57D4 #D44A9C #D4C74A #4AD482
split-complementary
#4A57D4 #D4824A #9CD44A
monochromatic
#1F2984 #2B38B6 #4A57D4 #7B85E0 #ADB3EB

Accessibility & contrast

On white

5.82
#4A57D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4A57D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A57D4
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A57D4#FFFFFF#000000##FFFFFF
##4A57D41.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#005FD2
Tritanopia (blue-blind)
#00768D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a57d4;
/* rgb */ color: rgb(74, 87, 212);
/* oklch */ color: oklch(52.0% 0.190 273.3);
Tailwind
colors: {
  custom: {
    50: '#8c86e2',
    500: '#4a57d4',
    950: '#000000',
  },
}
SCSS
$custom: #4a57d4;
$custom-light: #8c86e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a57d4",
  "rgb": {
    "r": 74,
    "g": 87,
    "b": 212
  },
  "hsl": {
    "h": 234.348,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52046,
    "c": 0.1904,
    "h": 273.3
  },
  "luminance": 0.13026
}

Semantic roles & 50–950 ramp

primary
#4A57D4
secondary
#D9D4A0
accent
#D543E5
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4A57D4

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

Preview Lab → · Contrast checker → · Palette generator →

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