#4C52D8#4C52D8

#4C52D8 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.6% C 0.201 H 274.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#4C52D8
RGBrgb(76, 82, 216)
HSLhsl(237, 64%, 57%)
HSVhsv(237, 65%, 85%)
CMYKcmyk(64.8%, 62%, 0%, 15.3%)
CIE-LABlab(42.04, 39.00, -69.53)
CIE-LCHlch(42.04, 79.72, 299.29°)
OKLaboklab(51.62% 0.0171 -0.2004)
OKLCHoklch(51.62% 0.201 274.9)
XYZxyz(18.3884, 12.5274, 66.4014)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C52D8 #D8D24C
analogous
#4C98D8 #4C52D8 #8C4CD8
triadic
#4C52D8 #D84C52 #52D84C
tetradic
#4C52D8 #D84C98 #D8D24C #4CD88C
square
#4C52D8 #D84C98 #D8D24C #4CD88C
split-complementary
#4C52D8 #D88C4C #98D84C
monochromatic
#1E238B #2930BE #4C52D8 #7E83E3 #B1B3EE

Accessibility & contrast

On white

5.99
#4C52D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4C52D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C52D8
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C52D8#FFFFFF#000000##FFFFFF
##4C52D81.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#005DD5
Tritanopia (blue-blind)
#00748D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4c52d8;
/* rgb */ color: rgb(76, 82, 216);
/* oklch */ color: oklch(51.6% 0.201 274.9);
Tailwind
colors: {
  custom: {
    50: '#8e83e5',
    500: '#4c52d8',
    950: '#000000',
  },
}
SCSS
$custom: #4c52d8;
$custom-light: #8e83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c52d8",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 237.429,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51617,
    "c": 0.20115,
    "h": 274.9
  },
  "luminance": 0.12529
}

Semantic roles & 50–950 ramp

primary
#4C52D8
secondary
#DCDAA4
accent
#E041E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C52D8

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

Preview Lab → · Contrast checker → · Palette generator →

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