#4C4FD4#4C4FD4

#4C4FD4 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.8% C 0.200 H 275.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#4C4FD4
RGBrgb(76, 79, 212)
HSLhsl(239, 61%, 56%)
HSVhsv(239, 64%, 83%)
CMYKcmyk(64.2%, 62.7%, 0%, 16.9%)
CIE-LABlab(41.03, 39.49, -68.90)
CIE-LCHlch(41.03, 79.41, 299.82°)
OKLaboklab(50.77% 0.0197 -0.1986)
OKLCHoklch(50.77% 0.2 275.7)
XYZxyz(17.6562, 11.8804, 63.6373)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FD4 #D4D14C
analogous
#4C93D4 #4C4FD4 #8D4CD4
triadic
#4C4FD4 #D44C4F #4FD44C
tetradic
#4C4FD4 #D44C93 #D4D14C #4CD48D
square
#4C4FD4 #D44C93 #D4D14C #4CD48D
split-complementary
#4C4FD4 #D48D4C #93D44C
monochromatic
#202286 #2C2FB7 #4C4FD4 #7D80E0 #AFB0EC

Accessibility & contrast

On white

6.22
#4C4FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4C4FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4FD4
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FD4#FFFFFF#000000##FFFFFF
##4C4FD41.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#005BD1
Tritanopia (blue-blind)
#00718A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4c4fd4;
/* rgb */ color: rgb(76, 79, 212);
/* oklch */ color: oklch(50.8% 0.200 275.7);
Tailwind
colors: {
  custom: {
    50: '#8d80e2',
    500: '#4c4fd4',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fd4;
$custom-light: #8d80e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fd4",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 238.676,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50771,
    "c": 0.19955,
    "h": 275.7
  },
  "luminance": 0.11882
}

Semantic roles & 50–950 ramp

primary
#4C4FD4
secondary
#DAD9A2
accent
#E143E4
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #4C4FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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