#4C4FC7#4C4FC7

#4C4FC7 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.7% C 0.183 H 276.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4C4FC7
RGBrgb(76, 79, 199)
HSLhsl(239, 52%, 54%)
HSVhsv(239, 62%, 78%)
CMYKcmyk(61.8%, 60.3%, 0%, 22%)
CIE-LABlab(40.00, 35.17, -63.06)
CIE-LCHlch(40.00, 72.21, 299.15°)
OKLaboklab(49.7% 0.0203 -0.1814)
OKLCHoklch(49.7% 0.183 276.4)
XYZxyz(16.0819, 11.2507, 55.3459)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FC7 #C7C44C
analogous
#4C8DC7 #4C4FC7 #874CC7
triadic
#4C4FC7 #C74C4F #4FC74C
tetradic
#4C4FC7 #C74C8D #C7C44C #4CC787
square
#4C4FC7 #C74C8D #C7C44C #4CC787
split-complementary
#4C4FC7 #C7874C #8DC74C
monochromatic
#242674 #3336A3 #4C4FC7 #7B7DD6 #A9ABE4

Accessibility & contrast

On white

6.46
#4C4FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4C4FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4FC7
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FC7#FFFFFF#000000##FFFFFF
##4C4FC71.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c4fc7;
/* rgb */ color: rgb(76, 79, 199);
/* oklch */ color: oklch(49.7% 0.183 276.4);
Tailwind
colors: {
  custom: {
    50: '#8b80d9',
    500: '#4c4fc7',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fc7;
$custom-light: #8b80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fc7",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 238.537,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49697,
    "c": 0.18258,
    "h": 276.4
  },
  "luminance": 0.11252
}

Semantic roles & 50–950 ramp

primary
#4C4FC7
secondary
#D2D09D
accent
#D84CDC
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C4FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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