#4C35C5#4C35C5

#4C35C5 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.5% C 0.210 H 281.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4C35C5
RGBrgb(76, 53, 197)
HSLhsl(250, 58%, 49%)
HSVhsv(250, 73%, 77%)
CMYKcmyk(61.4%, 73.1%, 0%, 22.7%)
CIE-LABlab(34.22, 49.66, -71.36)
CIE-LCHlch(34.22, 86.94, 304.83°)
OKLaboklab(45.46% 0.0413 -0.2058)
OKLCHoklch(45.46% 0.21 281.3)
XYZxyz(14.3285, 8.1129, 53.6234)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C35C5 #AEC535
analogous
#3566C5 #4C35C5 #9435C5
triadic
#4C35C5 #C54C35 #35C54C
tetradic
#4C35C5 #C53566 #AEC535 #35C594
square
#4C35C5 #C53566 #AEC535 #35C594
split-complementary
#4C35C5 #C59435 #66C535
monochromatic
#271B65 #392895 #4C35C5 #7562D5 #9F93E2

Accessibility & contrast

On white

8.01
#4C35C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4C35C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C35C5
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C35C5#FFFFFF#000000##FFFFFF
##4C35C51.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#004BC2
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4c35c5;
/* rgb */ color: rgb(76, 53, 197);
/* oklch */ color: oklch(45.5% 0.210 281.3);
Tailwind
colors: {
  custom: {
    50: '#8c6fd8',
    500: '#4c35c5',
    950: '#000000',
  },
}
SCSS
$custom: #4c35c5;
$custom-light: #8c6fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c35c5",
  "rgb": {
    "r": 76,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 249.583,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45462,
    "c": 0.20989,
    "h": 281.3
  },
  "luminance": 0.08114
}

Semantic roles & 50–950 ramp

primary
#4C35C5
secondary
#C2CD89
accent
#E147C8
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4C35C5

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

Preview Lab → · Contrast checker → · Palette generator →

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