#4C4CDF#4C4CDF

#4C4CDF is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.2% C 0.217 H 275.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4C4CDF
RGBrgb(76, 76, 223)
HSLhsl(240, 70%, 59%)
HSVhsv(240, 66%, 87%)
CMYKcmyk(65.9%, 65.9%, 0%, 12.5%)
CIE-LABlab(41.27, 44.90, -74.80)
CIE-LCHlch(41.27, 87.24, 300.98°)
OKLaboklab(51.23% 0.021 -0.2159)
OKLCHoklch(51.23% 0.217 275.6)
XYZxyz(18.8798, 12.0314, 71.1251)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4CDF #DFDF4C
analogous
#4C95DF #4C4CDF #954CDF
triadic
#4C4CDF #DF4C4C #4CDF4C
tetradic
#4C4CDF #DF4C95 #DFDF4C #4CDF95
square
#4C4CDF #DF4C95 #DFDF4C #4CDF95
split-complementary
#4C4CDF #DF954C #95DF4C
monochromatic
#1B1B96 #2424CA #4C4CDF #8080E8 #B4B4F2

Accessibility & contrast

On white

6.16
#4C4CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4C4CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4CDF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4CDF#FFFFFF#000000##FFFFFF
##4C4CDF1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#005BDC
Tritanopia (blue-blind)
#00738F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4c4cdf;
/* rgb */ color: rgb(76, 76, 223);
/* oklch */ color: oklch(51.2% 0.217 275.6);
Tailwind
colors: {
  custom: {
    50: '#8f7fea',
    500: '#4c4cdf',
    950: '#000000',
  },
}
SCSS
$custom: #4c4cdf;
$custom-light: #8f7fea;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4cdf",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 240,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51229,
    "c": 0.21692,
    "h": 275.6
  },
  "luminance": 0.12033
}

Semantic roles & 50–950 ramp

primary
#4C4CDF
secondary
#E0E0A6
accent
#EC3BEC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C4CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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