#4E35CC#4E35CC

#4E35CC is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.3% C 0.218 H 281.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#4E35CC
RGBrgb(78, 53, 204)
HSLhsl(250, 60%, 50%)
HSVhsv(250, 74%, 80%)
CMYKcmyk(61.8%, 74%, 0%, 20%)
CIE-LABlab(35.05, 52.00, -74.06)
CIE-LCHlch(35.05, 90.50, 305.07°)
OKLaboklab(46.29% 0.0425 -0.2136)
OKLCHoklch(46.29% 0.218 281.2)
XYZxyz(15.3106, 8.5244, 57.9536)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E35CC #B3CC35
analogous
#3567CC #4E35CC #9A35CC
triadic
#4E35CC #CC4E35 #35CC4E
tetradic
#4E35CC #CC3567 #B3CC35 #35CC9A
square
#4E35CC #CC3567 #B3CC35 #35CC9A
split-complementary
#4E35CC #CC9A35 #67CC35
monochromatic
#281B6B #3B279C #4E35CC #7966D8 #A497E5

Accessibility & contrast

On white

7.76
#4E35CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4E35CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E35CC
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E35CC#FFFFFF#000000##FFFFFF
##4E35CC1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#004DC9
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e35cc;
/* rgb */ color: rgb(78, 53, 204);
/* oklch */ color: oklch(46.3% 0.218 281.2);
Tailwind
colors: {
  custom: {
    50: '#8e70dd',
    500: '#4e35cc',
    950: '#000000',
  },
}
SCSS
$custom: #4e35cc;
$custom-light: #8e70dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e35cc",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 249.934,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46295,
    "c": 0.21781,
    "h": 281.2
  },
  "luminance": 0.08526
}

Semantic roles & 50–950 ramp

primary
#4E35CC
secondary
#C5D08D
accent
#E345C9
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4E35CC

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

Preview Lab → · Contrast checker → · Palette generator →

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