#4C3FCA#4C3FCA

#4C3FCA is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.3% C 0.205 H 279.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#4C3FCA
RGBrgb(76, 63, 202)
HSLhsl(246, 57%, 52%)
HSVhsv(246, 69%, 79%)
CMYKcmyk(62.4%, 68.8%, 0%, 20.8%)
CIE-LABlab(36.66, 45.70, -70.27)
CIE-LCHlch(36.66, 83.82, 303.04°)
OKLaboklab(47.34% 0.0331 -0.2026)
OKLCHoklch(47.34% 0.205 279.3)
XYZxyz(15.4153, 9.3546, 56.8589)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3FCA #BDCA3F
analogous
#3F77CA #4C3FCA #923FCA
triadic
#4C3FCA #CA4C3F #3FCA4C
tetradic
#4C3FCA #CA3F77 #BDCA3F #3FCA92
square
#4C3FCA #CA3F77 #BDCA3F #3FCA92
split-complementary
#4C3FCA #CA923F #77CA3F
monochromatic
#261F70 #372CA0 #4C3FCA #796FD7 #A59FE4

Accessibility & contrast

On white

7.31
#4C3FCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4C3FCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3FCA
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3FCA#FFFFFF#000000##FFFFFF
##4C3FCA1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#0051C7
Tritanopia (blue-blind)
#006480
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4c3fca;
/* rgb */ color: rgb(76, 63, 202);
/* oklch */ color: oklch(47.3% 0.205 279.3);
Tailwind
colors: {
  custom: {
    50: '#8c76db',
    500: '#4c3fca',
    950: '#000000',
  },
}
SCSS
$custom: #4c3fca;
$custom-light: #8c76db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3fca",
  "rgb": {
    "r": 76,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 245.612,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47342,
    "c": 0.20532,
    "h": 279.3
  },
  "luminance": 0.09356
}

Semantic roles & 50–950 ramp

primary
#4C3FCA
secondary
#CBD194
accent
#E048D2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4C3FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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