#4C57A2#4C57A2

#4C57A2 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.5% C 0.120 H 274.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#4C57A2
RGBrgb(76, 87, 162)
HSLhsl(232, 36%, 47%)
HSVhsv(232, 53%, 64%)
CMYKcmyk(53.1%, 46.3%, 0%, 36.5%)
CIE-LABlab(39.51, 17.72, -42.08)
CIE-LCHlch(39.51, 45.66, 292.84°)
OKLaboklab(48.53% 0.0099 -0.1197)
OKLCHoklch(48.53% 0.12 274.7)
XYZxyz(12.9082, 10.9607, 35.6108)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C57A2 #A2974C
analogous
#4C82A2 #4C57A2 #6C4CA2
triadic
#4C57A2 #A24C57 #57A24C
tetradic
#4C57A2 #A24C82 #A2974C #4CA26C
square
#4C57A2 #A24C82 #A2974C #4CA26C
split-complementary
#4C57A2 #A26C4C #82A24C
monochromatic
#252A4F #384178 #4C57A2 #7079BC #99A0CF

Accessibility & contrast

On white

6.58
#4C57A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4C57A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C57A2
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C57A2#FFFFFF#000000##FFFFFF
##4C57A21.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A5
Deuteranopia (green-blind)
#2D5AA0
Tritanopia (blue-blind)
#256774
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4c57a2;
/* rgb */ color: rgb(76, 87, 162);
/* oklch */ color: oklch(48.5% 0.120 274.7);
Tailwind
colors: {
  custom: {
    50: '#8486be',
    500: '#4c57a2',
    950: '#000000',
  },
}
SCSS
$custom: #4c57a2;
$custom-light: #8486be;
$custom-dark: #000000;
JSON
{
  "hex": "#4c57a2",
  "rgb": {
    "r": 76,
    "g": 87,
    "b": 162
  },
  "hsl": {
    "h": 232.326,
    "s": 36.134,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48527,
    "c": 0.12009,
    "h": 274.7
  },
  "luminance": 0.10962
}

Semantic roles & 50–950 ramp

primary
#4C57A2
secondary
#BCB68E
accent
#BE5CCC
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4C57A2

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

Preview Lab → · Contrast checker → · Palette generator →

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