#4C57BC#4C57BC

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

Color values

HEX#4C57BC
RGBrgb(76, 87, 188)
HSLhsl(234, 46%, 52%)
HSVhsv(234, 60%, 74%)
CMYKcmyk(59.6%, 53.7%, 0%, 26.3%)
CIE-LABlab(41.19, 26.45, -54.73)
CIE-LCHlch(41.19, 60.79, 295.79°)
OKLaboklab(50.33% 0.0126 -0.1569)
OKLCHoklch(50.33% 0.157 274.6)
XYZxyz(15.4628, 11.9825, 49.0652)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C57BC #BCB14C
analogous
#4C8FBC #4C57BC #794CBC
triadic
#4C57BC #BC4C57 #57BC4C
tetradic
#4C57BC #BC4C8F #BCB14C #4CBC79
square
#4C57BC #BC4C8F #BCB14C #4CBC79
split-complementary
#4C57BC #BC794C #8FBC4C
monochromatic
#272D67 #374094 #4C57BC #7981CD #A5ABDD

Accessibility & contrast

On white

6.18
#4C57BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4C57BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C57BC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C57BC#FFFFFF#000000##FFFFFF
##4C57BC1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1766C0
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4c57bc;
/* rgb */ color: rgb(76, 87, 188);
/* oklch */ color: oklch(50.3% 0.157 274.6);
Tailwind
colors: {
  custom: {
    50: '#8886d1',
    500: '#4c57bc',
    950: '#000000',
  },
}
SCSS
$custom: #4c57bc;
$custom-light: #8886d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c57bc",
  "rgb": {
    "r": 76,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 234.107,
    "s": 45.528,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50329,
    "c": 0.15737,
    "h": 274.6
  },
  "luminance": 0.11984
}

Semantic roles & 50–950 ramp

primary
#4C57BC
secondary
#CAC699
accent
#C853D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4C57BC

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

Preview Lab → · Contrast checker → · Palette generator →

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