#4C4CD9#4C4CD9

#4C4CD9 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.7% C 0.209 H 275.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4C4CD9
RGBrgb(76, 76, 217)
HSLhsl(240, 65%, 57%)
HSVhsv(240, 65%, 85%)
CMYKcmyk(65%, 65%, 0%, 14.9%)
CIE-LABlab(40.76, 42.94, -72.20)
CIE-LCHlch(40.76, 84.01, 300.74°)
OKLaboklab(50.7% 0.0216 -0.2083)
OKLCHoklch(50.7% 0.209 275.9)
XYZxyz(18.0852, 11.7136, 66.9401)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4CD9 #D9D94C
analogous
#4C93D9 #4C4CD9 #934CD9
triadic
#4C4CD9 #D94C4C #4CD94C
tetradic
#4C4CD9 #D94C93 #D9D94C #4CD993
square
#4C4CD9 #D94C93 #D9D94C #4CD993
split-complementary
#4C4CD9 #D9934C #93D94C
monochromatic
#1E1E8D #2929BF #4C4CD9 #7E7EE4 #B1B1EE

Accessibility & contrast

On white

6.28
#4C4CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4C4CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4CD9
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4CD9#FFFFFF#000000##FFFFFF
##4C4CD91.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#005AD6
Tritanopia (blue-blind)
#00718C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c4cd9;
/* rgb */ color: rgb(76, 76, 217);
/* oklch */ color: oklch(50.7% 0.209 275.9);
Tailwind
colors: {
  custom: {
    50: '#8e7fe6',
    500: '#4c4cd9',
    950: '#000000',
  },
}
SCSS
$custom: #4c4cd9;
$custom-light: #8e7fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4cd9",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 240,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.50703,
    "c": 0.20941,
    "h": 275.9
  },
  "luminance": 0.11715
}

Semantic roles & 50–950 ramp

primary
#4C4CD9
secondary
#DDDDA4
accent
#E840E8
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C4CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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