#4C57CB#4C57CB

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

Color values

HEX#4C57CB
RGBrgb(76, 87, 203)
HSLhsl(235, 55%, 55%)
HSVhsv(235, 63%, 80%)
CMYKcmyk(62.6%, 57.1%, 0%, 20.4%)
CIE-LABlab(42.25, 31.54, -61.72)
CIE-LCHlch(42.25, 69.31, 297.06°)
OKLaboklab(51.46% 0.0131 -0.1774)
OKLCHoklch(51.46% 0.178 274.2)
XYZxyz(17.1646, 12.6633, 58.0280)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C57CB #CBC04C
analogous
#4C97CB #4C57CB #814CCB
triadic
#4C57CB #CB4C57 #57CB4C
tetradic
#4C57CB #CB4C97 #CBC04C #4CCB81
square
#4C57CB #CB4C97 #CBC04C #4CCB81
split-complementary
#4C57CB #CB814C #97CB4C
monochromatic
#232B79 #313BA9 #4C57CB #7B84D9 #ABB0E7

Accessibility & contrast

On white

5.94
#4C57CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4C57CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C57CB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C57CB#FFFFFF#000000##FFFFFF
##4C57CB1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4c57cb;
/* rgb */ color: rgb(76, 87, 203);
/* oklch */ color: oklch(51.5% 0.178 274.2);
Tailwind
colors: {
  custom: {
    50: '#8b86dc',
    500: '#4c57cb',
    950: '#000000',
  },
}
SCSS
$custom: #4c57cb;
$custom-light: #8b86dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c57cb",
  "rgb": {
    "r": 76,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 234.803,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5146,
    "c": 0.1779,
    "h": 274.2
  },
  "luminance": 0.12665
}

Semantic roles & 50–950 ramp

primary
#4C57CB
secondary
#D4D09F
accent
#D149DE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C57CB

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

Preview Lab → · Contrast checker → · Palette generator →

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