#3A35C9#3A35C9

#3A35C9 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.6% C 0.218 H 274.4°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#3A35C9
RGBrgb(58, 53, 201)
HSLhsl(242, 58%, 50%)
HSVhsv(242, 74%, 79%)
CMYKcmyk(71.1%, 73.6%, 0%, 21.2%)
CIE-LABlab(33.27, 48.88, -75.31)
CIE-LCHlch(33.27, 89.78, 302.99°)
OKLaboklab(44.56% 0.0168 -0.2178)
OKLCHoklch(44.56% 0.218 274.4)
XYZxyz(13.5571, 7.6615, 56.0114)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A35C9 #C4C935
analogous
#357AC9 #3A35C9 #8435C9
triadic
#3A35C9 #C93A35 #35C93A
tetradic
#3A35C9 #C9357A #C4C935 #35C984
square
#3A35C9 #C9357A #C4C935 #35C984
split-complementary
#3A35C9 #C98435 #7AC935
monochromatic
#1E1B68 #2C2899 #3A35C9 #6965D6 #9895E3

Accessibility & contrast

On white

8.29
#3A35C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3A35C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A35C9
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A35C9#FFFFFF#000000##FFFFFF
##3A35C91.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CD
Deuteranopia (green-blind)
#0047C6
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a35c9;
/* rgb */ color: rgb(58, 53, 201);
/* oklch */ color: oklch(44.6% 0.218 274.4);
Tailwind
colors: {
  custom: {
    50: '#856edb',
    500: '#3a35c9',
    950: '#000000',
  },
}
SCSS
$custom: #3a35c9;
$custom-light: #856edb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a35c9",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 201
  },
  "hsl": {
    "h": 242.027,
    "s": 58.268,
    "l": 49.804
  },
  "oklch": {
    "l": 0.44564,
    "c": 0.21844,
    "h": 274.4
  },
  "luminance": 0.07663
}

Semantic roles & 50–950 ramp

primary
#3A35C9
secondary
#CCCE8B
accent
#E146DC
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3A35C9

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

Preview Lab → · Contrast checker → · Palette generator →

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