#4A57CD#4A57CD

#4A57CD is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.181 H 273.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4A57CD
RGBrgb(74, 87, 205)
HSLhsl(234, 57%, 55%)
HSVhsv(234, 64%, 80%)
CMYKcmyk(63.9%, 57.6%, 0%, 19.6%)
CIE-LABlab(42.27, 31.89, -62.84)
CIE-LCHlch(42.27, 70.47, 296.91°)
OKLaboklab(51.49% 0.0109 -0.1808)
OKLCHoklch(51.49% 0.181 273.5)
XYZxyz(17.2480, 12.6785, 59.2840)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A57CD #CDC04A
analogous
#4A98CD #4A57CD #7F4ACD
triadic
#4A57CD #CD4A57 #57CD4A
tetradic
#4A57CD #CD4A98 #CDC04A #4ACD7F
square
#4A57CD #CD4A98 #CDC04A #4ACD7F
split-complementary
#4A57CD #CD7F4A #98CD4A
monochromatic
#222B7B #2F3BAB #4A57CD #7A84DA #AAB0E7

Accessibility & contrast

On white

5.94
#4A57CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4A57CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A57CD
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A57CD#FFFFFF#000000##FFFFFF
##4A57CD1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4a57cd;
/* rgb */ color: rgb(74, 87, 205);
/* oklch */ color: oklch(51.5% 0.181 273.5);
Tailwind
colors: {
  custom: {
    50: '#8a86dd',
    500: '#4a57cd',
    950: '#000000',
  },
}
SCSS
$custom: #4a57cd;
$custom-light: #8a86dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a57cd",
  "rgb": {
    "r": 74,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 234.046,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51491,
    "c": 0.1811,
    "h": 273.5
  },
  "luminance": 0.1268
}

Semantic roles & 50–950 ramp

primary
#4A57CD
secondary
#D5D09E
accent
#D148E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A57CD

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

Preview Lab → · Contrast checker → · Palette generator →

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