#4C57CC#4C57CC

#4C57CC is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.179 H 274.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#4C57CC
RGBrgb(76, 87, 204)
HSLhsl(235, 56%, 55%)
HSVhsv(235, 63%, 80%)
CMYKcmyk(62.7%, 57.4%, 0%, 20%)
CIE-LABlab(42.32, 31.87, -62.18)
CIE-LCHlch(42.32, 69.87, 297.14°)
OKLaboklab(51.54% 0.0131 -0.1788)
OKLCHoklch(51.54% 0.179 274.2)
XYZxyz(17.2842, 12.7111, 58.6577)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C57CC #CCC14C
analogous
#4C97CC #4C57CC #814CCC
triadic
#4C57CC #CC4C57 #57CC4C
tetradic
#4C57CC #CC4C97 #CCC14C #4CCC81
square
#4C57CC #CC4C97 #CCC14C #4CCC81
split-complementary
#4C57CC #CC814C #97CC4C
monochromatic
#232A7B #313BAA #4C57CC #7C84DA #ABB0E7

Accessibility & contrast

On white

5.93
#4C57CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4C57CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C57CC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C57CC#FFFFFF#000000##FFFFFF
##4C57CC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4c57cc;
/* rgb */ color: rgb(76, 87, 204);
/* oklch */ color: oklch(51.5% 0.179 274.2);
Tailwind
colors: {
  custom: {
    50: '#8b86dc',
    500: '#4c57cc',
    950: '#000000',
  },
}
SCSS
$custom: #4c57cc;
$custom-light: #8b86dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c57cc",
  "rgb": {
    "r": 76,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 234.844,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51537,
    "c": 0.17925,
    "h": 274.2
  },
  "luminance": 0.12713
}

Semantic roles & 50–950 ramp

primary
#4C57CC
secondary
#D5D09F
accent
#D249DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C57CC

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

Preview Lab → · Contrast checker → · Palette generator →

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