#4A57D8#4A57D8

#4A57D8 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.4% C 0.196 H 273.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4A57D8
RGBrgb(74, 87, 216)
HSLhsl(235, 65%, 57%)
HSVhsv(235, 66%, 85%)
CMYKcmyk(65.7%, 59.7%, 0%, 15.3%)
CIE-LABlab(43.11, 35.64, -67.80)
CIE-LCHlch(43.11, 76.60, 297.73°)
OKLaboklab(52.37% 0.0109 -0.1954)
OKLCHoklch(52.37% 0.196 273.2)
XYZxyz(18.6228, 13.2284, 66.5244)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A57D8 #D8CB4A
analogous
#4A9ED8 #4A57D8 #844AD8
triadic
#4A57D8 #D84A57 #57D84A
tetradic
#4A57D8 #D84A9E #D8CB4A #4AD884
square
#4A57D8 #D84A9E #D8CB4A #4AD884
split-complementary
#4A57D8 #D8844A #9ED84A
monochromatic
#1E288A #2936BC #4A57D8 #7C86E3 #AFB4EE

Accessibility & contrast

On white

5.76
#4A57D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4A57D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A57D8
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A57D8#FFFFFF#000000##FFFFFF
##4A57D81.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a57d8;
/* rgb */ color: rgb(74, 87, 216);
/* oklch */ color: oklch(52.4% 0.196 273.2);
Tailwind
colors: {
  custom: {
    50: '#8c86e5',
    500: '#4a57d8',
    950: '#000000',
  },
}
SCSS
$custom: #4a57d8;
$custom-light: #8c86e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a57d8",
  "rgb": {
    "r": 74,
    "g": 87,
    "b": 216
  },
  "hsl": {
    "h": 234.507,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52368,
    "c": 0.19566,
    "h": 273.2
  },
  "luminance": 0.1323
}

Semantic roles & 50–950 ramp

primary
#4A57D8
secondary
#DCD7A2
accent
#D840E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4A57D8

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

Preview Lab → · Contrast checker → · Palette generator →

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