#4C52DA#4C52DA

#4C52DA is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 51.8% C 0.204 H 274.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4C52DA
RGBrgb(76, 82, 218)
HSLhsl(237, 66%, 58%)
HSVhsv(237, 65%, 85%)
CMYKcmyk(65.1%, 62.4%, 0%, 14.5%)
CIE-LABlab(42.20, 39.67, -70.41)
CIE-LCHlch(42.20, 80.82, 299.39°)
OKLaboklab(51.78% 0.017 -0.203)
OKLCHoklch(51.78% 0.204 274.8)
XYZxyz(18.6485, 12.6314, 67.7714)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C52DA #DAD44C
analogous
#4C99DA #4C52DA #8D4CDA
triadic
#4C52DA #DA4C52 #52DA4C
tetradic
#4C52DA #DA4C99 #DAD44C #4CDA8D
square
#4C52DA #DA4C99 #DAD44C #4CDA8D
split-complementary
#4C52DA #DA8D4C #99DA4C
monochromatic
#1D228E #282EC1 #4C52DA #7F83E4 #B1B4EF

Accessibility & contrast

On white

5.95
#4C52DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4C52DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C52DA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C52DA#FFFFFF#000000##FFFFFF
##4C52DA1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#005DD7
Tritanopia (blue-blind)
#00758E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4c52da;
/* rgb */ color: rgb(76, 82, 218);
/* oklch */ color: oklch(51.8% 0.204 274.8);
Tailwind
colors: {
  custom: {
    50: '#8e83e6',
    500: '#4c52da',
    950: '#000000',
  },
}
SCSS
$custom: #4c52da;
$custom-light: #8e83e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c52da",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 237.465,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51784,
    "c": 0.20372,
    "h": 274.8
  },
  "luminance": 0.12633
}

Semantic roles & 50–950 ramp

primary
#4C52DA
secondary
#DDDBA4
accent
#E23FE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C52DA

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

Preview Lab → · Contrast checker → · Palette generator →

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