#4C52CE#4C52CE

#4C52CE is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.8% C 0.188 H 275.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4C52CE
RGBrgb(76, 82, 206)
HSLhsl(237, 57%, 55%)
HSVhsv(237, 63%, 81%)
CMYKcmyk(63.1%, 60.2%, 0%, 19.2%)
CIE-LABlab(41.26, 35.66, -65.07)
CIE-LCHlch(41.26, 74.20, 298.72°)
OKLaboklab(50.79% 0.0175 -0.1873)
OKLCHoklch(50.79% 0.188 275.3)
XYZxyz(17.1347, 12.0259, 59.7988)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C52CE #CEC84C
analogous
#4C93CE #4C52CE #874CCE
triadic
#4C52CE #CE4C52 #52CE4C
tetradic
#4C52CE #CE4C93 #CEC84C #4CCE87
square
#4C52CE #CE4C93 #CEC84C #4CCE87
split-complementary
#4C52CE #CE874C #93CE4C
monochromatic
#22267D #2F35AD #4C52CE #7C80DB #ACAFE8

Accessibility & contrast

On white

6.17
#4C52CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4C52CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C52CE
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C52CE#FFFFFF#000000##FFFFFF
##4C52CE1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4c52ce;
/* rgb */ color: rgb(76, 82, 206);
/* oklch */ color: oklch(50.8% 0.188 275.3);
Tailwind
colors: {
  custom: {
    50: '#8c82de',
    500: '#4c52ce',
    950: '#000000',
  },
}
SCSS
$custom: #4c52ce;
$custom-light: #8c82de;
$custom-dark: #000000;
JSON
{
  "hex": "#4c52ce",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 237.231,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50794,
    "c": 0.18812,
    "h": 275.3
  },
  "luminance": 0.12027
}

Semantic roles & 50–950 ramp

primary
#4C52CE
secondary
#D6D4A0
accent
#D948E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C52CE

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

Preview Lab → · Contrast checker → · Palette generator →

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