#4C35C1#4C35C1

#4C35C1 is a mid, highly saturated blue. Relative luminance 0.079; OKLCH L 45.1% C 0.205 H 281.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#4C35C1
RGBrgb(76, 53, 193)
HSLhsl(250, 57%, 48%)
HSVhsv(250, 73%, 76%)
CMYKcmyk(60.6%, 72.5%, 0%, 24.3%)
CIE-LABlab(33.84, 48.45, -69.63)
CIE-LCHlch(33.84, 84.83, 304.83°)
OKLaboklab(45.08% 0.0421 -0.2008)
OKLCHoklch(45.08% 0.205 281.8)
XYZxyz(13.8762, 7.9320, 51.2415)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C35C1 #AAC135
analogous
#3564C1 #4C35C1 #9235C1
triadic
#4C35C1 #C14C35 #35C14C
tetradic
#4C35C1 #C13564 #AAC135 #35C192
square
#4C35C1 #C13564 #AAC135 #35C192
split-complementary
#4C35C1 #C19235 #64C135
monochromatic
#261B61 #392891 #4C35C1 #7360D3 #9D90E0

Accessibility & contrast

On white

8.12
#4C35C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4C35C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C35C1
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C35C1#FFFFFF#000000##FFFFFF
##4C35C11.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#004BBE
Tritanopia (blue-blind)
#005C78
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4c35c1;
/* rgb */ color: rgb(76, 53, 193);
/* oklch */ color: oklch(45.1% 0.205 281.8);
Tailwind
colors: {
  custom: {
    50: '#8c6fd5',
    500: '#4c35c1',
    950: '#000000',
  },
}
SCSS
$custom: #4c35c1;
$custom-light: #8c6fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c35c1",
  "rgb": {
    "r": 76,
    "g": 53,
    "b": 193
  },
  "hsl": {
    "h": 249.857,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45081,
    "c": 0.20512,
    "h": 281.8
  },
  "luminance": 0.07933
}

Semantic roles & 50–950 ramp

primary
#4C35C1
secondary
#C0CB87
accent
#E048C7
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4C35C1

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

Preview Lab → · Contrast checker → · Palette generator →

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