#4C4FCD#4C4FCD

#4C4FCD is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.2% C 0.190 H 276.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4C4FCD
RGBrgb(76, 79, 205)
HSLhsl(239, 56%, 55%)
HSVhsv(239, 63%, 80%)
CMYKcmyk(62.9%, 61.5%, 0%, 19.6%)
CIE-LABlab(40.47, 37.17, -65.78)
CIE-LCHlch(40.47, 75.55, 299.47°)
OKLaboklab(50.19% 0.0201 -0.1894)
OKLCHoklch(50.19% 0.19 276.1)
XYZxyz(16.7923, 11.5349, 59.0873)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FCD #CDCA4C
analogous
#4C8FCD #4C4FCD #8A4CCD
triadic
#4C4FCD #CD4C4F #4FCD4C
tetradic
#4C4FCD #CD4C8F #CDCA4C #4CCD8A
square
#4C4FCD #CD4C8F #CDCA4C #4CCD8A
split-complementary
#4C4FCD #CD8A4C #8FCD4C
monochromatic
#23257C #3033AC #4C4FCD #7C7EDA #ACADE8

Accessibility & contrast

On white

6.35
#4C4FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4C4FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4FCD
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FCD#FFFFFF#000000##FFFFFF
##4C4FCD1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#006E86
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4c4fcd;
/* rgb */ color: rgb(76, 79, 205);
/* oklch */ color: oklch(50.2% 0.190 276.1);
Tailwind
colors: {
  custom: {
    50: '#8c80dd',
    500: '#4c4fcd',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fcd;
$custom-light: #8c80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fcd",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 205
  },
  "hsl": {
    "h": 238.605,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50188,
    "c": 0.19048,
    "h": 276.1
  },
  "luminance": 0.11536
}

Semantic roles & 50–950 ramp

primary
#4C4FCD
secondary
#D5D49F
accent
#DC48E0
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C4FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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