#4C4FCC#4C4FCC

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

Color values

HEX#4C4FCC
RGBrgb(76, 79, 204)
HSLhsl(239, 56%, 55%)
HSVhsv(239, 63%, 80%)
CMYKcmyk(62.7%, 61.3%, 0%, 20%)
CIE-LABlab(40.39, 36.84, -65.33)
CIE-LCHlch(40.39, 75.00, 299.42°)
OKLaboklab(50.11% 0.0201 -0.1881)
OKLCHoklch(50.11% 0.189 276.1)
XYZxyz(16.6720, 11.4867, 58.4536)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FCC #CCC94C
analogous
#4C8FCC #4C4FCC #894CCC
triadic
#4C4FCC #CC4C4F #4FCC4C
tetradic
#4C4FCC #CC4C8F #CCC94C #4CCC89
square
#4C4FCC #CC4C8F #CCC94C #4CCC89
split-complementary
#4C4FCC #CC894C #8FCC4C
monochromatic
#23257B #3133AA #4C4FCC #7C7EDA #ABADE7

Accessibility & contrast

On white

6.37
#4C4FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4C4FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4FCC
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FCC#FFFFFF#000000##FFFFFF
##4C4FCC1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c4fcc;
/* rgb */ color: rgb(76, 79, 204);
/* oklch */ color: oklch(50.1% 0.189 276.1);
Tailwind
colors: {
  custom: {
    50: '#8c80dc',
    500: '#4c4fcc',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fcc;
$custom-light: #8c80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fcc",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 238.594,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50105,
    "c": 0.18916,
    "h": 276.1
  },
  "luminance": 0.11488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C4FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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