#4C4CD2#4C4CD2

#4C4CD2 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.1% C 0.201 H 276.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#4C4CD2
RGBrgb(76, 76, 210)
HSLhsl(240, 60%, 56%)
HSVhsv(240, 64%, 82%)
CMYKcmyk(63.8%, 63.8%, 0%, 17.6%)
CIE-LABlab(40.18, 40.64, -69.14)
CIE-LCHlch(40.18, 80.20, 300.45°)
OKLaboklab(50.1% 0.0222 -0.1993)
OKLCHoklch(50.1% 0.201 276.4)
XYZxyz(17.1940, 11.3571, 62.2463)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4CD2 #D2D24C
analogous
#4C8FD2 #4C4CD2 #8F4CD2
triadic
#4C4CD2 #D24C4C #4CD24C
tetradic
#4C4CD2 #D24C8F #D2D24C #4CD28F
square
#4C4CD2 #D24C8F #D2D24C #4CD28F
split-complementary
#4C4CD2 #D28F4C #8FD24C
monochromatic
#212183 #2D2DB4 #4C4CD2 #7D7DDE #AEAEEB

Accessibility & contrast

On white

6.42
#4C4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4C4CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4CD2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4CD2#FFFFFF#000000##FFFFFF
##4C4CD21.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#006E88
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4c4cd2;
/* rgb */ color: rgb(76, 76, 210);
/* oklch */ color: oklch(50.1% 0.201 276.4);
Tailwind
colors: {
  custom: {
    50: '#8d7ee1',
    500: '#4c4cd2',
    950: '#000000',
  },
}
SCSS
$custom: #4c4cd2;
$custom-light: #8d7ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4cd2",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 240,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50099,
    "c": 0.20052,
    "h": 276.4
  },
  "luminance": 0.11359
}

Semantic roles & 50–950 ramp

primary
#4C4CD2
secondary
#D9D9A1
accent
#E345E3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C4CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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