#4C52D5#4C52D5

#4C52D5 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.4% C 0.197 H 275.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#4C52D5
RGBrgb(76, 82, 213)
HSLhsl(237, 62%, 57%)
HSVhsv(237, 64%, 84%)
CMYKcmyk(64.3%, 61.5%, 0%, 16.5%)
CIE-LABlab(41.80, 38.00, -68.20)
CIE-LCHlch(41.80, 78.07, 299.13°)
OKLaboklab(51.37% 0.0172 -0.1965)
OKLCHoklch(51.37% 0.197 275)
XYZxyz(18.0041, 12.3736, 64.3775)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C52D5 #D5CF4C
analogous
#4C97D5 #4C52D5 #8B4CD5
triadic
#4C52D5 #D54C52 #52D54C
tetradic
#4C52D5 #D54C97 #D5CF4C #4CD58B
square
#4C52D5 #D54C97 #D5CF4C #4CD58B
split-complementary
#4C52D5 #D58B4C #97D54C
monochromatic
#202487 #2B31B9 #4C52D5 #7E82E1 #AFB2EC

Accessibility & contrast

On white

6.04
#4C52D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4C52D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C52D5
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C52D5#FFFFFF#000000##FFFFFF
##4C52D51.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#005DD2
Tritanopia (blue-blind)
#00738C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4c52d5;
/* rgb */ color: rgb(76, 82, 213);
/* oklch */ color: oklch(51.4% 0.197 275.0);
Tailwind
colors: {
  custom: {
    50: '#8d83e3',
    500: '#4c52d5',
    950: '#000000',
  },
}
SCSS
$custom: #4c52d5;
$custom-light: #8d83e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c52d5",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 237.372,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51367,
    "c": 0.19727,
    "h": 275
  },
  "luminance": 0.12375
}

Semantic roles & 50–950 ramp

primary
#4C52D5
secondary
#DAD8A2
accent
#DE43E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4C52D5

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

Preview Lab → · Contrast checker → · Palette generator →

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