#4C52D7#4C52D7

#4C52D7 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.5% C 0.200 H 274.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#4C52D7
RGBrgb(76, 82, 215)
HSLhsl(237, 63%, 57%)
HSVhsv(237, 65%, 84%)
CMYKcmyk(64.7%, 61.9%, 0%, 15.7%)
CIE-LABlab(41.96, 38.67, -69.09)
CIE-LCHlch(41.96, 79.17, 299.23°)
OKLaboklab(51.53% 0.0171 -0.1991)
OKLCHoklch(51.53% 0.2 274.9)
XYZxyz(18.2595, 12.4758, 65.7226)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C52D7 #D7D14C
analogous
#4C98D7 #4C52D7 #8C4CD7
triadic
#4C52D7 #D74C52 #52D74C
tetradic
#4C52D7 #D74C98 #D7D14C #4CD78C
square
#4C52D7 #D74C98 #D7D14C #4CD78C
split-complementary
#4C52D7 #D78C4C #98D74C
monochromatic
#1F238A #2A30BC #4C52D7 #7E82E2 #B0B3ED

Accessibility & contrast

On white

6.01
#4C52D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4C52D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C52D7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C52D7#FFFFFF#000000##FFFFFF
##4C52D71.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#005DD4
Tritanopia (blue-blind)
#00748D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4c52d7;
/* rgb */ color: rgb(76, 82, 215);
/* oklch */ color: oklch(51.5% 0.200 274.9);
Tailwind
colors: {
  custom: {
    50: '#8d83e4',
    500: '#4c52d7',
    950: '#000000',
  },
}
SCSS
$custom: #4c52d7;
$custom-light: #8d83e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c52d7",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 237.41,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51533,
    "c": 0.19986,
    "h": 274.9
  },
  "luminance": 0.12477
}

Semantic roles & 50–950 ramp

primary
#4C52D7
secondary
#DCD9A3
accent
#DF41E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C52D7

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

Preview Lab → · Contrast checker → · Palette generator →

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