#4C4FC5#4C4FC5

#4C4FC5 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.5% C 0.180 H 276.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#4C4FC5
RGBrgb(76, 79, 197)
HSLhsl(239, 51%, 54%)
HSVhsv(239, 61%, 77%)
CMYKcmyk(61.4%, 59.9%, 0%, 22.7%)
CIE-LABlab(39.85, 34.50, -62.15)
CIE-LCHlch(39.85, 71.09, 299.04°)
OKLaboklab(49.54% 0.0204 -0.1788)
OKLCHoklch(49.54% 0.18 276.5)
XYZxyz(15.8512, 11.1584, 54.1310)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FC5 #C5C24C
analogous
#4C8BC5 #4C4FC5 #854CC5
triadic
#4C4FC5 #C54C4F #4FC54C
tetradic
#4C4FC5 #C54C8B #C5C24C #4CC585
square
#4C4FC5 #C54C8B #C5C24C #4CC585
split-complementary
#4C4FC5 #C5854C #8BC54C
monochromatic
#252772 #3437A0 #4C4FC5 #7A7CD4 #A8AAE3

Accessibility & contrast

On white

6.50
#4C4FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4C4FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4FC5
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FC5#FFFFFF#000000##FFFFFF
##4C4FC51.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c4fc5;
/* rgb */ color: rgb(76, 79, 197);
/* oklch */ color: oklch(49.5% 0.180 276.5);
Tailwind
colors: {
  custom: {
    50: '#8a80d7',
    500: '#4c4fc5',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fc5;
$custom-light: #8a80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fc5",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 238.512,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49536,
    "c": 0.17993,
    "h": 276.5
  },
  "luminance": 0.1116
}

Semantic roles & 50–950 ramp

primary
#4C4FC5
secondary
#D0CF9C
accent
#D74DDB
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4C4FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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