#4A57AE#4A57AE

#4A57AE is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.2% C 0.138 H 273.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4A57AE
RGBrgb(74, 87, 174)
HSLhsl(232, 40%, 49%)
HSVhsv(232, 57%, 68%)
CMYKcmyk(57.5%, 50%, 0%, 31.8%)
CIE-LABlab(40.13, 21.31, -48.23)
CIE-LCHlch(40.13, 52.73, 293.84°)
OKLaboklab(49.2% 0.0092 -0.1378)
OKLCHoklch(49.2% 0.138 273.8)
XYZxyz(13.8697, 11.3272, 41.4917)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A57AE #AEA14A
analogous
#4A89AE #4A57AE #6F4AAE
triadic
#4A57AE #AE4A57 #57AE4A
tetradic
#4A57AE #AE4A89 #AEA14A #4AAE6F
square
#4A57AE #AE4A89 #AEA14A #4AAE6F
split-complementary
#4A57AE #AE6F4A #89AE4A
monochromatic
#252C58 #384283 #4A57AE #727DC3 #9DA4D5

Accessibility & contrast

On white

6.43
#4A57AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4A57AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A57AE
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A57AE#FFFFFF#000000##FFFFFF
##4A57AE1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B63B1
Deuteranopia (green-blind)
#1B5AAC
Tritanopia (blue-blind)
#0A6B7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4a57ae;
/* rgb */ color: rgb(74, 87, 174);
/* oklch */ color: oklch(49.2% 0.138 273.8);
Tailwind
colors: {
  custom: {
    50: '#8586c7',
    500: '#4a57ae',
    950: '#000000',
  },
}
SCSS
$custom: #4a57ae;
$custom-light: #8586c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a57ae",
  "rgb": {
    "r": 74,
    "g": 87,
    "b": 174
  },
  "hsl": {
    "h": 232.2,
    "s": 40.323,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49197,
    "c": 0.1381,
    "h": 273.8
  },
  "luminance": 0.11328
}

Semantic roles & 50–950 ramp

primary
#4A57AE
secondary
#C2BC92
accent
#C158D0
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4A57AE

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

Preview Lab → · Contrast checker → · Palette generator →

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