#4A57C3#4A57C3

#4A57C3 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.7% C 0.168 H 273.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#4A57C3
RGBrgb(74, 87, 195)
HSLhsl(234, 50%, 53%)
HSVhsv(234, 62%, 76%)
CMYKcmyk(62.1%, 55.4%, 0%, 23.5%)
CIE-LABlab(41.55, 28.47, -58.23)
CIE-LCHlch(41.55, 64.82, 296.06°)
OKLaboklab(50.72% 0.0107 -0.1672)
OKLCHoklch(50.72% 0.168 273.7)
XYZxyz(16.0793, 12.2110, 53.1288)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A57C3 #C3B64A
analogous
#4A93C3 #4A57C3 #7A4AC3
triadic
#4A57C3 #C34A57 #57C34A
tetradic
#4A57C3 #C34A93 #C3B64A #4AC37A
square
#4A57C3 #C34A93 #C3B64A #4AC37A
split-complementary
#4A57C3 #C37A4A #93C34A
monochromatic
#242C6E #343F9C #4A57C3 #7882D2 #A6ACE1

Accessibility & contrast

On white

6.10
#4A57C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4A57C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A57C3
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A57C3#FFFFFF#000000##FFFFFF
##4A57C31.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C7
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4a57c3;
/* rgb */ color: rgb(74, 87, 195);
/* oklch */ color: oklch(50.7% 0.168 273.7);
Tailwind
colors: {
  custom: {
    50: '#8886d6',
    500: '#4a57c3',
    950: '#000000',
  },
}
SCSS
$custom: #4a57c3;
$custom-light: #8886d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a57c3",
  "rgb": {
    "r": 74,
    "g": 87,
    "b": 195
  },
  "hsl": {
    "h": 233.554,
    "s": 50.207,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50721,
    "c": 0.16755,
    "h": 273.7
  },
  "luminance": 0.12212
}

Semantic roles & 50–950 ramp

primary
#4A57C3
secondary
#CFC99A
accent
#CB4EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #4A57C3

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

Preview Lab → · Contrast checker → · Palette generator →

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