#4C52DF#4C52DF

#4C52DF is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.2% C 0.210 H 274.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4C52DF
RGBrgb(76, 82, 223)
HSLhsl(238, 70%, 59%)
HSVhsv(238, 66%, 87%)
CMYKcmyk(65.9%, 63.2%, 0%, 12.5%)
CIE-LABlab(42.61, 41.33, -72.60)
CIE-LCHlch(42.61, 83.54, 299.65°)
OKLaboklab(52.21% 0.0167 -0.2094)
OKLCHoklch(52.21% 0.21 274.5)
XYZxyz(19.3127, 12.8971, 71.2694)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C52DF #DFD94C
analogous
#4C9BDF #4C52DF #8F4CDF
triadic
#4C52DF #DF4C52 #52DF4C
tetradic
#4C52DF #DF4C9B #DFD94C #4CDF8F
square
#4C52DF #DF4C9B #DFD94C #4CDF8F
split-complementary
#4C52DF #DF8F4C #9BDF4C
monochromatic
#1B2096 #242BCA #4C52DF #8084E8 #B4B6F2

Accessibility & contrast

On white

5.87
#4C52DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4C52DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C52DF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C52DF#FFFFFF#000000##FFFFFF
##4C52DF1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE3
Deuteranopia (green-blind)
#005EDC
Tritanopia (blue-blind)
#007691
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4c52df;
/* rgb */ color: rgb(76, 82, 223);
/* oklch */ color: oklch(52.2% 0.210 274.5);
Tailwind
colors: {
  custom: {
    50: '#8f83ea',
    500: '#4c52df',
    950: '#000000',
  },
}
SCSS
$custom: #4c52df;
$custom-light: #8f83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4c52df",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 237.551,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52206,
    "c": 0.2101,
    "h": 274.5
  },
  "luminance": 0.12899
}

Semantic roles & 50–950 ramp

primary
#4C52DF
secondary
#E0DEA6
accent
#E53BEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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