#4C57CA#4C57CA

#4C57CA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.4% C 0.177 H 274.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4C57CA
RGBrgb(76, 87, 202)
HSLhsl(235, 54%, 55%)
HSVhsv(235, 62%, 79%)
CMYKcmyk(62.4%, 56.9%, 0%, 20.8%)
CIE-LABlab(42.18, 31.20, -61.26)
CIE-LCHlch(42.18, 68.75, 296.99°)
OKLaboklab(51.38% 0.0131 -0.1761)
OKLCHoklch(51.38% 0.177 274.2)
XYZxyz(17.0458, 12.6158, 57.4025)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C57CA #CABF4C
analogous
#4C96CA #4C57CA #804CCA
triadic
#4C57CA #CA4C57 #57CA4C
tetradic
#4C57CA #CA4C96 #CABF4C #4CCA80
square
#4C57CA #CA4C96 #CABF4C #4CCA80
split-complementary
#4C57CA #CA804C #96CA4C
monochromatic
#242B78 #323CA7 #4C57CA #7B83D8 #AAB0E6

Accessibility & contrast

On white

5.96
#4C57CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4C57CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C57CA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C57CA#FFFFFF#000000##FFFFFF
##4C57CA1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c57ca;
/* rgb */ color: rgb(76, 87, 202);
/* oklch */ color: oklch(51.4% 0.177 274.2);
Tailwind
colors: {
  custom: {
    50: '#8b86db',
    500: '#4c57ca',
    950: '#000000',
  },
}
SCSS
$custom: #4c57ca;
$custom-light: #8b86db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c57ca",
  "rgb": {
    "r": 76,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 234.762,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51383,
    "c": 0.17656,
    "h": 274.2
  },
  "luminance": 0.12617
}

Semantic roles & 50–950 ramp

primary
#4C57CA
secondary
#D4CF9E
accent
#D14ADE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C57CA

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

Preview Lab → · Contrast checker → · Palette generator →

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