#4C3ED4#4C3ED4

#4C3ED4 is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 48.1% C 0.219 H 278.5°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#4C3ED4
RGBrgb(76, 62, 212)
HSLhsl(246, 64%, 54%)
HSVhsv(246, 71%, 83%)
CMYKcmyk(64.2%, 70.8%, 0%, 16.9%)
CIE-LABlab(37.36, 49.39, -74.90)
CIE-LCHlch(37.36, 89.72, 303.40°)
OKLaboklab(48.12% 0.0322 -0.2162)
OKLCHoklch(48.12% 0.219 278.5)
XYZxyz(16.5830, 9.7339, 63.2795)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3ED4 #C6D43E
analogous
#3E7BD4 #4C3ED4 #973ED4
triadic
#4C3ED4 #D44C3E #3ED44C
tetradic
#4C3ED4 #D43E7B #C6D43E #3ED497
square
#4C3ED4 #D43E7B #C6D43E #3ED497
split-complementary
#4C3ED4 #D4973E #7BD43E
monochromatic
#251C7C #3327AE #4C3ED4 #7A70DF #A9A2EA

Accessibility & contrast

On white

7.13
#4C3ED4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4C3ED4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3ED4
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3ED4#FFFFFF#000000##FFFFFF
##4C3ED41.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED8
Deuteranopia (green-blind)
#0052D1
Tritanopia (blue-blind)
#006785
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4c3ed4;
/* rgb */ color: rgb(76, 62, 212);
/* oklch */ color: oklch(48.1% 0.219 278.5);
Tailwind
colors: {
  custom: {
    50: '#8e75e2',
    500: '#4c3ed4',
    950: '#000000',
  },
}
SCSS
$custom: #4c3ed4;
$custom-light: #8e75e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3ed4",
  "rgb": {
    "r": 76,
    "g": 62,
    "b": 212
  },
  "hsl": {
    "h": 245.6,
    "s": 63.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.4812,
    "c": 0.21857,
    "h": 278.5
  },
  "luminance": 0.09735
}

Semantic roles & 50–950 ramp

primary
#4C3ED4
secondary
#D1D797
accent
#E741D7
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4C3ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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