#4C4ED3#4C4ED3

#4C4ED3 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.5% C 0.199 H 275.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4C4ED3
RGBrgb(76, 78, 211)
HSLhsl(239, 61%, 56%)
HSVhsv(239, 64%, 83%)
CMYKcmyk(64%, 63%, 0%, 17.3%)
CIE-LABlab(40.71, 39.77, -68.83)
CIE-LCHlch(40.71, 79.49, 300.02°)
OKLaboklab(50.52% 0.0206 -0.1984)
OKLCHoklch(50.52% 0.199 275.9)
XYZxyz(17.4589, 11.6870, 62.9511)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4ED3 #D3D14C
analogous
#4C92D3 #4C4ED3 #8E4CD3
triadic
#4C4ED3 #D34C4E #4ED34C
tetradic
#4C4ED3 #D34C92 #D3D14C #4CD38E
square
#4C4ED3 #D34C92 #D3D14C #4CD38E
split-complementary
#4C4ED3 #D38E4C #92D34C
monochromatic
#202284 #2D2FB5 #4C4ED3 #7D7FDF #AEAFEB

Accessibility & contrast

On white

6.29
#4C4ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4C4ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4ED3
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4ED3#FFFFFF#000000##FFFFFF
##4C4ED31.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#005AD0
Tritanopia (blue-blind)
#007089
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c4ed3;
/* rgb */ color: rgb(76, 78, 211);
/* oklch */ color: oklch(50.5% 0.199 275.9);
Tailwind
colors: {
  custom: {
    50: '#8d80e2',
    500: '#4c4ed3',
    950: '#000000',
  },
}
SCSS
$custom: #4c4ed3;
$custom-light: #8d80e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4ed3",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 211
  },
  "hsl": {
    "h": 239.111,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50518,
    "c": 0.19945,
    "h": 275.9
  },
  "luminance": 0.11688
}

Semantic roles & 50–950 ramp

primary
#4C4ED3
secondary
#D9D8A2
accent
#E144E4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C4ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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