#3A35CA#3A35CA

#3A35CA is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.7% C 0.220 H 274.3°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#3A35CA
RGBrgb(58, 53, 202)
HSLhsl(242, 58%, 50%)
HSVhsv(242, 74%, 79%)
CMYKcmyk(71.3%, 73.8%, 0%, 20.8%)
CIE-LABlab(33.37, 49.20, -75.72)
CIE-LCHlch(33.37, 90.31, 303.02°)
OKLaboklab(44.67% 0.0167 -0.219)
OKLCHoklch(44.67% 0.22 274.3)
XYZxyz(13.6752, 7.7087, 56.6329)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A35CA #C5CA35
analogous
#357BCA #3A35CA #8435CA
triadic
#3A35CA #CA3A35 #35CA3A
tetradic
#3A35CA #CA357B #C5CA35 #35CA84
square
#3A35CA #CA357B #C5CA35 #35CA84
split-complementary
#3A35CA #CA8435 #7BCA35
monochromatic
#1E1C69 #2C289A #3A35CA #6965D7 #9996E3

Accessibility & contrast

On white

8.26
#3A35CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3A35CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A35CA
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A35CA#FFFFFF#000000##FFFFFF
##3A35CA1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CE
Deuteranopia (green-blind)
#0047C7
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a35ca;
/* rgb */ color: rgb(58, 53, 202);
/* oklch */ color: oklch(44.7% 0.220 274.3);
Tailwind
colors: {
  custom: {
    50: '#856edb',
    500: '#3a35ca',
    950: '#000000',
  },
}
SCSS
$custom: #3a35ca;
$custom-light: #856edb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a35ca",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 242.013,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.44666,
    "c": 0.21963,
    "h": 274.3
  },
  "luminance": 0.0771
}

Semantic roles & 50–950 ramp

primary
#3A35CA
secondary
#CDCF8C
accent
#E246DC
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3A35CA

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

Preview Lab → · Contrast checker → · Palette generator →

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