#4C52DC#4C52DC

#4C52DC is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.0% C 0.206 H 274.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#4C52DC
RGBrgb(76, 82, 220)
HSLhsl(238, 67%, 58%)
HSVhsv(238, 65%, 86%)
CMYKcmyk(65.5%, 62.7%, 0%, 13.7%)
CIE-LABlab(42.36, 40.33, -71.29)
CIE-LCHlch(42.36, 81.91, 299.50°)
OKLaboklab(51.95% 0.0169 -0.2056)
OKLCHoklch(51.95% 0.206 274.7)
XYZxyz(18.9118, 12.7367, 69.1581)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C52DC #DCD64C
analogous
#4C9ADC #4C52DC #8E4CDC
triadic
#4C52DC #DC4C52 #52DC4C
tetradic
#4C52DC #DC4C9A #DCD64C #4CDC8E
square
#4C52DC #DC4C9A #DCD64C #4CDC8E
split-complementary
#4C52DC #DC8E4C #9ADC4C
monochromatic
#1C2191 #262DC4 #4C52DC #7F83E6 #B2B5F0

Accessibility & contrast

On white

5.92
#4C52DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4C52DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C52DC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C52DC#FFFFFF#000000##FFFFFF
##4C52DC1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#00758F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4c52dc;
/* rgb */ color: rgb(76, 82, 220);
/* oklch */ color: oklch(52.0% 0.206 274.7);
Tailwind
colors: {
  custom: {
    50: '#8e83e8',
    500: '#4c52dc',
    950: '#000000',
  },
}
SCSS
$custom: #4c52dc;
$custom-light: #8e83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c52dc",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 237.5,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.51952,
    "c": 0.20628,
    "h": 274.7
  },
  "luminance": 0.12738
}

Semantic roles & 50–950 ramp

primary
#4C52DC
secondary
#DFDCA5
accent
#E33EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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