#4C4FC4#4C4FC4

#4C4FC4 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.5% C 0.179 H 276.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#4C4FC4
RGBrgb(76, 79, 196)
HSLhsl(239, 50%, 53%)
HSVhsv(239, 61%, 77%)
CMYKcmyk(61.2%, 59.7%, 0%, 23.1%)
CIE-LABlab(39.77, 34.17, -61.69)
CIE-LCHlch(39.77, 70.52, 298.98°)
OKLaboklab(49.46% 0.0204 -0.1774)
OKLCHoklch(49.46% 0.179 276.6)
XYZxyz(15.7370, 11.1128, 53.5295)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FC4 #C4C14C
analogous
#4C8BC4 #4C4FC4 #854CC4
triadic
#4C4FC4 #C44C4F #4FC44C
tetradic
#4C4FC4 #C44C8B #C4C14C #4CC485
square
#4C4FC4 #C44C8B #C4C14C #4CC485
split-complementary
#4C4FC4 #C4854C #8BC44C
monochromatic
#252771 #34379F #4C4FC4 #7A7CD3 #A8AAE2

Accessibility & contrast

On white

6.52
#4C4FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4C4FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4FC4
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FC4#FFFFFF#000000##FFFFFF
##4C4FC41.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#0059C2
Tritanopia (blue-blind)
#006C82
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c4fc4;
/* rgb */ color: rgb(76, 79, 196);
/* oklch */ color: oklch(49.5% 0.179 276.6);
Tailwind
colors: {
  custom: {
    50: '#8a80d7',
    500: '#4c4fc4',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fc4;
$custom-light: #8a80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fc4",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 238.5,
    "s": 50.42,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49456,
    "c": 0.17859,
    "h": 276.6
  },
  "luminance": 0.11114
}

Semantic roles & 50–950 ramp

primary
#4C4FC4
secondary
#D0CE9C
accent
#D64EDA
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4C4FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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