#4C35C6#4C35C6

#4C35C6 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.6% C 0.211 H 281.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#4C35C6
RGBrgb(76, 53, 198)
HSLhsl(250, 58%, 49%)
HSVhsv(250, 73%, 78%)
CMYKcmyk(61.6%, 73.2%, 0%, 22.4%)
CIE-LABlab(34.31, 49.96, -71.79)
CIE-LCHlch(34.31, 87.46, 304.83°)
OKLaboklab(45.56% 0.041 -0.207)
OKLCHoklch(45.56% 0.211 281.2)
XYZxyz(14.4434, 8.1589, 54.2288)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C35C6 #AFC635
analogous
#3567C6 #4C35C6 #9535C6
triadic
#4C35C6 #C64C35 #35C64C
tetradic
#4C35C6 #C63567 #AFC635 #35C695
square
#4C35C6 #C63567 #AFC635 #35C695
split-complementary
#4C35C6 #C69535 #67C635
monochromatic
#271B65 #392896 #4C35C6 #7563D5 #A093E2

Accessibility & contrast

On white

7.98
#4C35C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4C35C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C35C6
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C35C6#FFFFFF#000000##FFFFFF
##4C35C61.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#004BC3
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4c35c6;
/* rgb */ color: rgb(76, 53, 198);
/* oklch */ color: oklch(45.6% 0.211 281.2);
Tailwind
colors: {
  custom: {
    50: '#8c6fd9',
    500: '#4c35c6',
    950: '#000000',
  },
}
SCSS
$custom: #4c35c6;
$custom-light: #8c6fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c35c6",
  "rgb": {
    "r": 76,
    "g": 53,
    "b": 198
  },
  "hsl": {
    "h": 249.517,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45557,
    "c": 0.21108,
    "h": 281.2
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#4C35C6
secondary
#C2CD8A
accent
#E147C9
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4C35C6

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

Preview Lab → · Contrast checker → · Palette generator →

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