#3A35CC#3A35CC

#3A35CC is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.9% C 0.222 H 274.2°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#3A35CC
RGBrgb(58, 53, 204)
HSLhsl(242, 60%, 50%)
HSVhsv(242, 74%, 80%)
CMYKcmyk(71.6%, 74%, 0%, 20%)
CIE-LABlab(33.57, 49.84, -76.55)
CIE-LCHlch(33.57, 91.35, 303.07°)
OKLaboklab(44.87% 0.0163 -0.2214)
OKLCHoklch(44.87% 0.222 274.2)
XYZxyz(13.9135, 7.8040, 57.8881)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A35CC #C7CC35
analogous
#357BCC #3A35CC #8635CC
triadic
#3A35CC #CC3A35 #35CC3A
tetradic
#3A35CC #CC357B #C7CC35 #35CC86
square
#3A35CC #CC357B #C7CC35 #35CC86
split-complementary
#3A35CC #CC8635 #7BCC35
monochromatic
#1E1B6B #2B279C #3A35CC #6A66D8 #9997E5

Accessibility & contrast

On white

8.20
#3A35CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3A35CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A35CC
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A35CC#FFFFFF#000000##FFFFFF
##3A35CC1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D0
Deuteranopia (green-blind)
#0048C9
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a35cc;
/* rgb */ color: rgb(58, 53, 204);
/* oklch */ color: oklch(44.9% 0.222 274.2);
Tailwind
colors: {
  custom: {
    50: '#866edd',
    500: '#3a35cc',
    950: '#000000',
  },
}
SCSS
$custom: #3a35cc;
$custom-light: #866edd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a35cc",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 241.987,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.4487,
    "c": 0.22202,
    "h": 274.2
  },
  "luminance": 0.07805
}

Semantic roles & 50–950 ramp

primary
#3A35CC
secondary
#CED08D
accent
#E345DE
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3A35CC

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

Preview Lab → · Contrast checker → · Palette generator →

#3A35CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva