#4C4FD7#4C4FD7

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

Color values

HEX#4C4FD7
RGBrgb(76, 79, 215)
HSLhsl(239, 63%, 57%)
HSVhsv(239, 65%, 84%)
CMYKcmyk(64.7%, 63.3%, 0%, 15.7%)
CIE-LABlab(41.27, 40.49, -70.22)
CIE-LCHlch(41.27, 81.06, 299.97°)
OKLaboklab(51.03% 0.0195 -0.2025)
OKLCHoklch(51.03% 0.203 275.5)
XYZxyz(18.0382, 12.0332, 65.6489)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FD7 #D7D44C
analogous
#4C95D7 #4C4FD7 #8F4CD7
triadic
#4C4FD7 #D74C4F #4FD74C
tetradic
#4C4FD7 #D74C95 #D7D44C #4CD78F
square
#4C4FD7 #D74C95 #D7D44C #4CD78F
split-complementary
#4C4FD7 #D78F4C #95D74C
monochromatic
#1F218A #2A2DBC #4C4FD7 #7E80E2 #B0B1ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C4FD7#FFFFFF#000000##FFFFFF
##4C4FD71.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)
#0068DB
Deuteranopia (green-blind)
#005BD4
Tritanopia (blue-blind)
#00728C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4c4fd7;
/* rgb */ color: rgb(76, 79, 215);
/* oklch */ color: oklch(51.0% 0.203 275.5);
Tailwind
colors: {
  custom: {
    50: '#8e81e4',
    500: '#4c4fd7',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fd7;
$custom-light: #8e81e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fd7",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 238.705,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51025,
    "c": 0.20341,
    "h": 275.5
  },
  "luminance": 0.12035
}

Semantic roles & 50–950 ramp

primary
#4C4FD7
secondary
#DCDAA3
accent
#E341E6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C4FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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