#4C57DA#4C57DA

#4C57DA is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.198 H 273.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#4C57DA
RGBrgb(76, 87, 218)
HSLhsl(235, 66%, 58%)
HSVhsv(235, 65%, 85%)
CMYKcmyk(65.1%, 60.1%, 0%, 14.5%)
CIE-LABlab(43.38, 36.61, -68.49)
CIE-LCHlch(43.38, 77.66, 298.12°)
OKLaboklab(52.65% 0.013 -0.1973)
OKLCHoklch(52.65% 0.198 273.8)
XYZxyz(19.0394, 13.4132, 67.9017)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C57DA #DACF4C
analogous
#4C9EDA #4C57DA #884CDA
triadic
#4C57DA #DA4C57 #57DA4C
tetradic
#4C57DA #DA4C9E #DACF4C #4CDA88
square
#4C57DA #DA4C9E #DACF4C #4CDA88
split-complementary
#4C57DA #DA884C #9EDA4C
monochromatic
#1D268E #2834C1 #4C57DA #7F87E4 #B1B6EF

Accessibility & contrast

On white

5.70
#4C57DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4C57DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C57DA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C57DA#FFFFFF#000000##FFFFFF
##4C57DA1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0060D7
Tritanopia (blue-blind)
#007890
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c57da;
/* rgb */ color: rgb(76, 87, 218);
/* oklch */ color: oklch(52.6% 0.198 273.8);
Tailwind
colors: {
  custom: {
    50: '#8e86e6',
    500: '#4c57da',
    950: '#000000',
  },
}
SCSS
$custom: #4c57da;
$custom-light: #8e86e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c57da",
  "rgb": {
    "r": 76,
    "g": 87,
    "b": 218
  },
  "hsl": {
    "h": 235.352,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5265,
    "c": 0.19777,
    "h": 273.8
  },
  "luminance": 0.13415
}

Semantic roles & 50–950 ramp

primary
#4C57DA
secondary
#DDD9A4
accent
#DC3FE9
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4C57DA

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

Preview Lab → · Contrast checker → · Palette generator →

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