#4C57BD#4C57BD

#4C57BD is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.4% C 0.159 H 274.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4C57BD
RGBrgb(76, 87, 189)
HSLhsl(234, 46%, 52%)
HSVhsv(234, 60%, 74%)
CMYKcmyk(59.8%, 54%, 0%, 25.9%)
CIE-LABlab(41.26, 26.79, -55.20)
CIE-LCHlch(41.26, 61.36, 295.89°)
OKLaboklab(50.4% 0.0126 -0.1583)
OKLCHoklch(50.4% 0.159 274.6)
XYZxyz(15.5710, 12.0258, 49.6349)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C57BD #BDB24C
analogous
#4C90BD #4C57BD #7A4CBD
triadic
#4C57BD #BD4C57 #57BD4C
tetradic
#4C57BD #BD4C90 #BDB24C #4CBD7A
square
#4C57BD #BD4C90 #BDB24C #4CBD7A
split-complementary
#4C57BD #BD7A4C #90BD4C
monochromatic
#262D68 #374095 #4C57BD #7981CD #A5ABDE

Accessibility & contrast

On white

6.17
#4C57BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C57BD
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C57BD#FFFFFF#000000##FFFFFF
##4C57BD1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1466C1
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4c57bd;
/* rgb */ color: rgb(76, 87, 189);
/* oklch */ color: oklch(50.4% 0.159 274.6);
Tailwind
colors: {
  custom: {
    50: '#8886d2',
    500: '#4c57bd',
    950: '#000000',
  },
}
SCSS
$custom: #4c57bd;
$custom-light: #8886d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c57bd",
  "rgb": {
    "r": 76,
    "g": 87,
    "b": 189
  },
  "hsl": {
    "h": 234.159,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50402,
    "c": 0.15876,
    "h": 274.6
  },
  "luminance": 0.12027
}

Semantic roles & 50–950 ramp

primary
#4C57BD
secondary
#CBC69A
accent
#C952D6
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4C57BD

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

Preview Lab → · Contrast checker → · Palette generator →

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