#4C4FD5#4C4FD5

#4C4FD5 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 50.9% C 0.201 H 275.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#4C4FD5
RGBrgb(76, 79, 213)
HSLhsl(239, 62%, 57%)
HSVhsv(239, 64%, 84%)
CMYKcmyk(64.3%, 62.9%, 0%, 16.5%)
CIE-LABlab(41.11, 39.82, -69.34)
CIE-LCHlch(41.11, 79.96, 299.87°)
OKLaboklab(50.86% 0.0196 -0.1999)
OKLCHoklch(50.86% 0.201 275.6)
XYZxyz(17.7828, 11.9310, 64.3037)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FD5 #D5D24C
analogous
#4C94D5 #4C4FD5 #8E4CD5
triadic
#4C4FD5 #D54C4F #4FD54C
tetradic
#4C4FD5 #D54C94 #D5D24C #4CD58E
square
#4C4FD5 #D54C94 #D5D24C #4CD58E
split-complementary
#4C4FD5 #D58E4C #94D54C
monochromatic
#202287 #2B2EB9 #4C4FD5 #7E80E1 #AFB0EC

Accessibility & contrast

On white

6.20
#4C4FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4C4FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4FD5
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FD5#FFFFFF#000000##FFFFFF
##4C4FD51.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#005BD2
Tritanopia (blue-blind)
#00718B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4c4fd5;
/* rgb */ color: rgb(76, 79, 213);
/* oklch */ color: oklch(50.9% 0.201 275.6);
Tailwind
colors: {
  custom: {
    50: '#8d80e3',
    500: '#4c4fd5',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fd5;
$custom-light: #8d80e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fd5",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 238.686,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50856,
    "c": 0.20084,
    "h": 275.6
  },
  "luminance": 0.11933
}

Semantic roles & 50–950 ramp

primary
#4C4FD5
secondary
#DAD9A2
accent
#E243E5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C4FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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