#4C4FC6#4C4FC6

#4C4FC6 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.6% C 0.181 H 276.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#4C4FC6
RGBrgb(76, 79, 198)
HSLhsl(239, 52%, 54%)
HSVhsv(239, 62%, 78%)
CMYKcmyk(61.6%, 60.1%, 0%, 22.4%)
CIE-LABlab(39.92, 34.84, -62.61)
CIE-LCHlch(39.92, 71.65, 299.09°)
OKLaboklab(49.62% 0.0203 -0.1801)
OKLCHoklch(49.62% 0.181 276.4)
XYZxyz(15.9662, 11.2044, 54.7364)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FC6 #C6C34C
analogous
#4C8CC6 #4C4FC6 #864CC6
triadic
#4C4FC6 #C64C4F #4FC64C
tetradic
#4C4FC6 #C64C8C #C6C34C #4CC686
square
#4C4FC6 #C64C8C #C6C34C #4CC686
split-complementary
#4C4FC6 #C6864C #8CC64C
monochromatic
#252773 #3336A1 #4C4FC6 #7A7DD5 #A9AAE4

Accessibility & contrast

On white

6.48
#4C4FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4C4FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4FC6
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FC6#FFFFFF#000000##FFFFFF
##4C4FC61.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CA
Deuteranopia (green-blind)
#0059C4
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c4fc6;
/* rgb */ color: rgb(76, 79, 198);
/* oklch */ color: oklch(49.6% 0.181 276.4);
Tailwind
colors: {
  custom: {
    50: '#8a80d8',
    500: '#4c4fc6',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fc6;
$custom-light: #8a80d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fc6",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 198
  },
  "hsl": {
    "h": 238.525,
    "s": 51.695,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49617,
    "c": 0.18125,
    "h": 276.4
  },
  "luminance": 0.11206
}

Semantic roles & 50–950 ramp

primary
#4C4FC6
secondary
#D1D09D
accent
#D84DDB
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C4FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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