#4A57DA#4A57DA

#4A57DA is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.5% C 0.198 H 273.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4A57DA
RGBrgb(74, 87, 218)
HSLhsl(235, 66%, 57%)
HSVhsv(235, 66%, 85%)
CMYKcmyk(66.1%, 60.1%, 0%, 14.5%)
CIE-LABlab(43.26, 36.32, -68.69)
CIE-LCHlch(43.26, 77.70, 297.87°)
OKLaboklab(52.53% 0.0108 -0.198)
OKLCHoklch(52.53% 0.198 273.1)
XYZxyz(18.8829, 13.3325, 67.8944)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A57DA #DACD4A
analogous
#4A9FDA #4A57DA #854ADA
triadic
#4A57DA #DA4A57 #57DA4A
tetradic
#4A57DA #DA4A9F #DACD4A #4ADA85
square
#4A57DA #DA4A9F #DACD4A #4ADA85
split-complementary
#4A57DA #DA854A #9FDA4A
monochromatic
#1D278D #2735C0 #4A57DA #7D86E4 #B0B5EF

Accessibility & contrast

On white

5.73
#4A57DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4A57DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A57DA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A57DA#FFFFFF#000000##FFFFFF
##4A57DA1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0060D7
Tritanopia (blue-blind)
#007890
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a57da;
/* rgb */ color: rgb(74, 87, 218);
/* oklch */ color: oklch(52.5% 0.198 273.1);
Tailwind
colors: {
  custom: {
    50: '#8d86e6',
    500: '#4a57da',
    950: '#000000',
  },
}
SCSS
$custom: #4a57da;
$custom-light: #8d86e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a57da",
  "rgb": {
    "r": 74,
    "g": 87,
    "b": 218
  },
  "hsl": {
    "h": 234.583,
    "s": 66.055,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5253,
    "c": 0.19827,
    "h": 273.1
  },
  "luminance": 0.13334
}

Semantic roles & 50–950 ramp

primary
#4A57DA
secondary
#DDD8A3
accent
#DA3FE9
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4A57DA

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

Preview Lab → · Contrast checker → · Palette generator →

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