#4C4FD8#4C4FD8

#4C4FD8 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.1% C 0.205 H 275.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4C4FD8
RGBrgb(76, 79, 216)
HSLhsl(239, 64%, 57%)
HSVhsv(239, 65%, 85%)
CMYKcmyk(64.8%, 63.4%, 0%, 15.3%)
CIE-LABlab(41.35, 40.82, -70.66)
CIE-LCHlch(41.35, 81.60, 300.01°)
OKLaboklab(51.11% 0.0194 -0.2037)
OKLCHoklch(51.11% 0.205 275.4)
XYZxyz(18.1671, 12.0848, 66.3276)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FD8 #D8D54C
analogous
#4C95D8 #4C4FD8 #8F4CD8
triadic
#4C4FD8 #D84C4F #4FD84C
tetradic
#4C4FD8 #D84C95 #D8D54C #4CD88F
square
#4C4FD8 #D84C95 #D8D54C #4CD88F
split-complementary
#4C4FD8 #D88F4C #95D84C
monochromatic
#1E218B #292CBE #4C4FD8 #7E80E3 #B1B2EE

Accessibility & contrast

On white

6.15
#4C4FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4C4FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4FD8
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FD8#FFFFFF#000000##FFFFFF
##4C4FD81.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#005BD5
Tritanopia (blue-blind)
#00728C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4c4fd8;
/* rgb */ color: rgb(76, 79, 216);
/* oklch */ color: oklch(51.1% 0.205 275.4);
Tailwind
colors: {
  custom: {
    50: '#8e81e5',
    500: '#4c4fd8',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fd8;
$custom-light: #8e81e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fd8",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 238.714,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5111,
    "c": 0.20467,
    "h": 275.4
  },
  "luminance": 0.12086
}

Semantic roles & 50–950 ramp

primary
#4C4FD8
secondary
#DCDBA4
accent
#E441E7
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C4FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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