#4C57BE#4C57BE

#4C57BE is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.5% C 0.160 H 274.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4C57BE
RGBrgb(76, 87, 190)
HSLhsl(234, 47%, 52%)
HSVhsv(234, 60%, 75%)
CMYKcmyk(60%, 54.2%, 0%, 25.5%)
CIE-LABlab(41.33, 27.13, -55.68)
CIE-LCHlch(41.33, 61.93, 295.98°)
OKLaboklab(50.48% 0.0127 -0.1596)
OKLCHoklch(50.48% 0.16 274.5)
XYZxyz(15.6799, 12.0694, 50.2086)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C57BE #BEB34C
analogous
#4C90BE #4C57BE #7A4CBE
triadic
#4C57BE #BE4C57 #57BE4C
tetradic
#4C57BE #BE4C90 #BEB34C #4CBE7A
square
#4C57BE #BE4C90 #BEB34C #4CBE7A
split-complementary
#4C57BE #BE7A4C #90BE4C
monochromatic
#262D69 #374096 #4C57BE #7981CE #A6ABDF

Accessibility & contrast

On white

6.15
#4C57BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4C57BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C57BE
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C57BE#FFFFFF#000000##FFFFFF
##4C57BE1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1267C2
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4c57be;
/* rgb */ color: rgb(76, 87, 190);
/* oklch */ color: oklch(50.5% 0.160 274.5);
Tailwind
colors: {
  custom: {
    50: '#8986d2',
    500: '#4c57be',
    950: '#000000',
  },
}
SCSS
$custom: #4c57be;
$custom-light: #8986d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c57be",
  "rgb": {
    "r": 76,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 234.211,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50476,
    "c": 0.16015,
    "h": 274.5
  },
  "luminance": 0.12071
}

Semantic roles & 50–950 ramp

primary
#4C57BE
secondary
#CCC79A
accent
#CA51D6
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4C57BE

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

Preview Lab → · Contrast checker → · Palette generator →

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