#4C52D6#4C52D6

#4C52D6 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.4% C 0.199 H 275.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#4C52D6
RGBrgb(76, 82, 214)
HSLhsl(237, 63%, 57%)
HSVhsv(237, 64%, 84%)
CMYKcmyk(64.5%, 61.7%, 0%, 16.1%)
CIE-LABlab(41.88, 38.33, -68.65)
CIE-LCHlch(41.88, 78.62, 299.18°)
OKLaboklab(51.45% 0.0172 -0.1978)
OKLCHoklch(51.45% 0.199 275)
XYZxyz(18.1314, 12.4246, 65.0480)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C52D6 #D6D04C
analogous
#4C97D6 #4C52D6 #8B4CD6
triadic
#4C52D6 #D64C52 #52D64C
tetradic
#4C52D6 #D64C97 #D6D04C #4CD68B
square
#4C52D6 #D64C97 #D6D04C #4CD68B
split-complementary
#4C52D6 #D68B4C #97D64C
monochromatic
#1F2488 #2B31BA #4C52D6 #7E82E1 #B0B2ED

Accessibility & contrast

On white

6.03
#4C52D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4C52D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C52D6
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C52D6#FFFFFF#000000##FFFFFF
##4C52D61.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#005DD3
Tritanopia (blue-blind)
#00738C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4c52d6;
/* rgb */ color: rgb(76, 82, 214);
/* oklch */ color: oklch(51.4% 0.199 275.0);
Tailwind
colors: {
  custom: {
    50: '#8d83e4',
    500: '#4c52d6',
    950: '#000000',
  },
}
SCSS
$custom: #4c52d6;
$custom-light: #8d83e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c52d6",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 214
  },
  "hsl": {
    "h": 237.391,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5145,
    "c": 0.19856,
    "h": 275
  },
  "luminance": 0.12426
}

Semantic roles & 50–950 ramp

primary
#4C52D6
secondary
#DBD9A3
accent
#DF42E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C52D6

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

Preview Lab → · Contrast checker → · Palette generator →

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