#4C3ED5#4C3ED5

#4C3ED5 is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.2% C 0.220 H 278.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#4C3ED5
RGBrgb(76, 62, 213)
HSLhsl(246, 64%, 54%)
HSVhsv(246, 71%, 84%)
CMYKcmyk(64.3%, 70.9%, 0%, 16.5%)
CIE-LABlab(37.45, 49.70, -75.33)
CIE-LCHlch(37.45, 90.24, 303.42°)
OKLaboklab(48.21% 0.032 -0.2174)
OKLCHoklch(48.21% 0.22 278.4)
XYZxyz(16.7095, 9.7845, 63.9459)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3ED5 #C7D53E
analogous
#3E7CD5 #4C3ED5 #983ED5
triadic
#4C3ED5 #D54C3E #3ED54C
tetradic
#4C3ED5 #D53E7C #C7D53E #3ED598
square
#4C3ED5 #D53E7C #C7D53E #3ED598
split-complementary
#4C3ED5 #D5983E #7CD53E
monochromatic
#241B7D #3326B0 #4C3ED5 #7B70E0 #A9A3EB

Accessibility & contrast

On white

7.10
#4C3ED5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4C3ED5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3ED5
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3ED5#FFFFFF#000000##FFFFFF
##4C3ED51.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED9
Deuteranopia (green-blind)
#0052D2
Tritanopia (blue-blind)
#006885
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4c3ed5;
/* rgb */ color: rgb(76, 62, 213);
/* oklch */ color: oklch(48.2% 0.220 278.4);
Tailwind
colors: {
  custom: {
    50: '#8e75e3',
    500: '#4c3ed5',
    950: '#000000',
  },
}
SCSS
$custom: #4c3ed5;
$custom-light: #8e75e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3ed5",
  "rgb": {
    "r": 76,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 245.563,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48214,
    "c": 0.21977,
    "h": 278.4
  },
  "luminance": 0.09786
}

Semantic roles & 50–950 ramp

primary
#4C3ED5
secondary
#D2D897
accent
#E741D8
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4C3ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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