#4C52D2#4C52D2

#4C52D2 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.193 H 275.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#4C52D2
RGBrgb(76, 82, 210)
HSLhsl(237, 60%, 56%)
HSVhsv(237, 64%, 82%)
CMYKcmyk(63.8%, 61%, 0%, 17.6%)
CIE-LABlab(41.57, 37.00, -66.86)
CIE-LCHlch(41.57, 76.42, 298.96°)
OKLaboklab(51.12% 0.0174 -0.1926)
OKLCHoklch(51.12% 0.193 275.1)
XYZxyz(17.6268, 12.2227, 62.3906)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C52D2 #D2CC4C
analogous
#4C95D2 #4C52D2 #894CD2
triadic
#4C52D2 #D24C52 #52D24C
tetradic
#4C52D2 #D24C95 #D2CC4C #4CD289
square
#4C52D2 #D24C95 #D2CC4C #4CD289
split-complementary
#4C52D2 #D2894C #95D24C
monochromatic
#212583 #2D33B4 #4C52D2 #7D81DE #AEB1EB

Accessibility & contrast

On white

6.10
#4C52D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4C52D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C52D2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C52D2#FFFFFF#000000##FFFFFF
##4C52D21.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4c52d2;
/* rgb */ color: rgb(76, 82, 210);
/* oklch */ color: oklch(51.1% 0.193 275.1);
Tailwind
colors: {
  custom: {
    50: '#8c83e1',
    500: '#4c52d2',
    950: '#000000',
  },
}
SCSS
$custom: #4c52d2;
$custom-light: #8c83e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c52d2",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 237.313,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5112,
    "c": 0.19337,
    "h": 275.1
  },
  "luminance": 0.12224
}

Semantic roles & 50–950 ramp

primary
#4C52D2
secondary
#D9D6A1
accent
#DC45E3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C52D2

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

Preview Lab → · Contrast checker → · Palette generator →

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