#4A57D7#4A57D7

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

Color values

HEX#4A57D7
RGBrgb(74, 87, 215)
HSLhsl(234, 64%, 57%)
HSVhsv(234, 66%, 84%)
CMYKcmyk(65.6%, 59.5%, 0%, 15.7%)
CIE-LABlab(43.03, 35.30, -67.36)
CIE-LCHlch(43.03, 76.05, 297.66°)
OKLaboklab(52.29% 0.0109 -0.194)
OKLCHoklch(52.29% 0.194 273.2)
XYZxyz(18.4939, 13.1769, 65.8456)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A57D7 #D7CA4A
analogous
#4A9ED7 #4A57D7 #844AD7
triadic
#4A57D7 #D74A57 #57D74A
tetradic
#4A57D7 #D74A9E #D7CA4A #4AD784
square
#4A57D7 #D74A9E #D7CA4A #4AD784
split-complementary
#4A57D7 #D7844A #9ED74A
monochromatic
#1E2888 #2937BB #4A57D7 #7C86E2 #AEB4ED

Accessibility & contrast

On white

5.78
#4A57D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4A57D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A57D7
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A57D7#FFFFFF#000000##FFFFFF
##4A57D71.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#005FD4
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a57d7;
/* rgb */ color: rgb(74, 87, 215);
/* oklch */ color: oklch(52.3% 0.194 273.2);
Tailwind
colors: {
  custom: {
    50: '#8c86e4',
    500: '#4a57d7',
    950: '#000000',
  },
}
SCSS
$custom: #4a57d7;
$custom-light: #8c86e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a57d7",
  "rgb": {
    "r": 74,
    "g": 87,
    "b": 215
  },
  "hsl": {
    "h": 234.468,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52287,
    "c": 0.19435,
    "h": 273.2
  },
  "luminance": 0.13179
}

Semantic roles & 50–950 ramp

primary
#4A57D7
secondary
#DBD6A2
accent
#D841E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4A57D7

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

Preview Lab → · Contrast checker → · Palette generator →

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