#4D35C8#4D35C8

#4D35C8 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.8% C 0.213 H 281.4°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#4D35C8
RGBrgb(77, 53, 200)
HSLhsl(250, 58%, 50%)
HSVhsv(250, 74%, 78%)
CMYKcmyk(61.5%, 73.5%, 0%, 21.6%)
CIE-LABlab(34.59, 50.68, -72.50)
CIE-LCHlch(34.59, 88.46, 304.96°)
OKLaboklab(45.83% 0.042 -0.2091)
OKLCHoklch(45.83% 0.213 281.4)
XYZxyz(14.7557, 8.2930, 55.4555)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D35C8 #B0C835
analogous
#3567C8 #4D35C8 #9735C8
triadic
#4D35C8 #C84D35 #35C84D
tetradic
#4D35C8 #C83567 #B0C835 #35C897
square
#4D35C8 #C83567 #B0C835 #35C897
split-complementary
#4D35C8 #C89735 #67C835
monochromatic
#281B67 #3A2898 #4D35C8 #7764D6 #A195E3

Accessibility & contrast

On white

7.90
#4D35C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4D35C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D35C8
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D35C8#FFFFFF#000000##FFFFFF
##4D35C81.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CC
Deuteranopia (green-blind)
#004CC5
Tritanopia (blue-blind)
#005E7C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d35c8;
/* rgb */ color: rgb(77, 53, 200);
/* oklch */ color: oklch(45.8% 0.213 281.4);
Tailwind
colors: {
  custom: {
    50: '#8d6fda',
    500: '#4d35c8',
    950: '#000000',
  },
}
SCSS
$custom: #4d35c8;
$custom-light: #8d6fda;
$custom-dark: #000000;
JSON
{
  "hex": "#4d35c8",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 200
  },
  "hsl": {
    "h": 249.796,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4583,
    "c": 0.21328,
    "h": 281.4
  },
  "luminance": 0.08294
}

Semantic roles & 50–950 ramp

primary
#4D35C8
secondary
#C3CE8B
accent
#E146C8
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4D35C8

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

Preview Lab → · Contrast checker → · Palette generator →

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