#4A57BD#4A57BD

#4A57BD is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.3% C 0.159 H 273.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#4A57BD
RGBrgb(74, 87, 189)
HSLhsl(233, 47%, 52%)
HSVhsv(233, 61%, 74%)
CMYKcmyk(60.8%, 54%, 0%, 25.9%)
CIE-LABlab(41.13, 26.42, -55.42)
CIE-LCHlch(41.13, 61.40, 295.49°)
OKLaboklab(50.27% 0.0104 -0.1589)
OKLCHoklch(50.27% 0.159 273.8)
XYZxyz(15.4145, 11.9451, 49.6276)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A57BD #BDB04A
analogous
#4A91BD #4A57BD #774ABD
triadic
#4A57BD #BD4A57 #57BD4A
tetradic
#4A57BD #BD4A91 #BDB04A #4ABD77
square
#4A57BD #BD4A91 #BDB04A #4ABD77
split-complementary
#4A57BD #BD774A #91BD4A
monochromatic
#262D67 #364194 #4A57BD #7781CD #A4AADE

Accessibility & contrast

On white

6.20
#4A57BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4A57BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A57BD
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A57BD#FFFFFF#000000##FFFFFF
##4A57BD1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1366C1
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4a57bd;
/* rgb */ color: rgb(74, 87, 189);
/* oklch */ color: oklch(50.3% 0.159 273.8);
Tailwind
colors: {
  custom: {
    50: '#8786d2',
    500: '#4a57bd',
    950: '#000000',
  },
}
SCSS
$custom: #4a57bd;
$custom-light: #8786d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a57bd",
  "rgb": {
    "r": 74,
    "g": 87,
    "b": 189
  },
  "hsl": {
    "h": 233.217,
    "s": 46.559,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50272,
    "c": 0.15928,
    "h": 273.8
  },
  "luminance": 0.11946
}

Semantic roles & 50–950 ramp

primary
#4A57BD
secondary
#CBC598
accent
#C752D6
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4A57BD

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

Preview Lab → · Contrast checker → · Palette generator →

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