#4A57AC#4A57AC

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

Color values

HEX#4A57AC
RGBrgb(74, 87, 172)
HSLhsl(232, 40%, 48%)
HSVhsv(232, 57%, 67%)
CMYKcmyk(57%, 49.4%, 0%, 32.5%)
CIE-LABlab(40.00, 20.64, -47.25)
CIE-LCHlch(40.00, 51.56, 293.59°)
OKLaboklab(49.06% 0.009 -0.1349)
OKLCHoklch(49.06% 0.135 273.8)
XYZxyz(13.6762, 11.2498, 40.4725)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A57AC #AC9F4A
analogous
#4A88AC #4A57AC #6E4AAC
triadic
#4A57AC #AC4A57 #57AC4A
tetradic
#4A57AC #AC4A88 #AC9F4A #4AAC6E
square
#4A57AC #AC4A88 #AC9F4A #4AAC6E
split-complementary
#4A57AC #AC6E4A #88AC4A
monochromatic
#252C56 #384181 #4A57AC #717CC2 #9CA3D4

Accessibility & contrast

On white

6.46
#4A57AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4A57AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A57AC
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A57AC#FFFFFF#000000##FFFFFF
##4A57AC1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D63AF
Deuteranopia (green-blind)
#1E5AAA
Tritanopia (blue-blind)
#0F6A79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4a57ac;
/* rgb */ color: rgb(74, 87, 172);
/* oklch */ color: oklch(49.1% 0.135 273.8);
Tailwind
colors: {
  custom: {
    50: '#8586c5',
    500: '#4a57ac',
    950: '#000000',
  },
}
SCSS
$custom: #4a57ac;
$custom-light: #8586c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a57ac",
  "rgb": {
    "r": 74,
    "g": 87,
    "b": 172
  },
  "hsl": {
    "h": 232.041,
    "s": 39.837,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49059,
    "c": 0.13522,
    "h": 273.8
  },
  "luminance": 0.11251
}

Semantic roles & 50–950 ramp

primary
#4A57AC
secondary
#C1BB91
accent
#C058D0
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4A57AC

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

Preview Lab → · Contrast checker → · Palette generator →

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