#4C4ED2#4C4ED2

#4C4ED2 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.4% C 0.198 H 276.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4C4ED2
RGBrgb(76, 78, 210)
HSLhsl(239, 60%, 56%)
HSVhsv(239, 64%, 82%)
CMYKcmyk(63.8%, 62.9%, 0%, 17.6%)
CIE-LABlab(40.63, 39.44, -68.39)
CIE-LCHlch(40.63, 78.94, 299.97°)
OKLaboklab(50.43% 0.0206 -0.1971)
OKLCHoklch(50.43% 0.198 276)
XYZxyz(17.3339, 11.6370, 62.2930)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4ED2 #D2D04C
analogous
#4C91D2 #4C4ED2 #8D4CD2
triadic
#4C4ED2 #D24C4E #4ED24C
tetradic
#4C4ED2 #D24C91 #D2D04C #4CD28D
square
#4C4ED2 #D24C91 #D2D04C #4CD28D
split-complementary
#4C4ED2 #D28D4C #91D24C
monochromatic
#212283 #2D2FB4 #4C4ED2 #7D7EDE #AEAFEB

Accessibility & contrast

On white

6.31
#4C4ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4C4ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4ED2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4ED2#FFFFFF#000000##FFFFFF
##4C4ED21.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#005ACF
Tritanopia (blue-blind)
#006F89
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c4ed2;
/* rgb */ color: rgb(76, 78, 210);
/* oklch */ color: oklch(50.4% 0.198 276.0);
Tailwind
colors: {
  custom: {
    50: '#8d80e1',
    500: '#4c4ed2',
    950: '#000000',
  },
}
SCSS
$custom: #4c4ed2;
$custom-light: #8d80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4ed2",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 239.104,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50434,
    "c": 0.19817,
    "h": 276
  },
  "luminance": 0.11638
}

Semantic roles & 50–950 ramp

primary
#4C4ED2
secondary
#D9D8A1
accent
#E145E3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C4ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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