#4C52DD#4C52DD

#4C52DD is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.0% C 0.208 H 274.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#4C52DD
RGBrgb(76, 82, 221)
HSLhsl(238, 68%, 58%)
HSVhsv(238, 66%, 87%)
CMYKcmyk(65.6%, 62.9%, 0%, 13.3%)
CIE-LABlab(42.45, 40.66, -71.73)
CIE-LCHlch(42.45, 82.45, 299.55°)
OKLaboklab(52.04% 0.0168 -0.2069)
OKLCHoklch(52.04% 0.208 274.6)
XYZxyz(19.0446, 12.7899, 69.8577)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C52DD #DDD74C
analogous
#4C9ADD #4C52DD #8E4CDD
triadic
#4C52DD #DD4C52 #52DD4C
tetradic
#4C52DD #DD4C9A #DDD74C #4CDD8E
square
#4C52DD #DD4C9A #DDD74C #4CDD8E
split-complementary
#4C52DD #DD8E4C #9ADD4C
monochromatic
#1C2193 #262CC6 #4C52DD #7F84E7 #B3B5F1

Accessibility & contrast

On white

5.90
#4C52DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4C52DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C52DD
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C52DD#FFFFFF#000000##FFFFFF
##4C52DD1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE1
Deuteranopia (green-blind)
#005EDA
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4c52dd;
/* rgb */ color: rgb(76, 82, 221);
/* oklch */ color: oklch(52.0% 0.208 274.6);
Tailwind
colors: {
  custom: {
    50: '#8e83e9',
    500: '#4c52dd',
    950: '#000000',
  },
}
SCSS
$custom: #4c52dd;
$custom-light: #8e83e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c52dd",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 237.517,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52037,
    "c": 0.20755,
    "h": 274.6
  },
  "luminance": 0.12792
}

Semantic roles & 50–950 ramp

primary
#4C52DD
secondary
#DFDDA6
accent
#E43DEB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C52DD

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

Preview Lab → · Contrast checker → · Palette generator →

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