#3A35C2#3A35C2

#3A35C2 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.9% C 0.210 H 274.9°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#3A35C2
RGBrgb(58, 53, 194)
HSLhsl(242, 57%, 48%)
HSVhsv(242, 73%, 76%)
CMYKcmyk(70.1%, 72.7%, 0%, 23.9%)
CIE-LABlab(32.57, 46.63, -72.37)
CIE-LCHlch(32.57, 86.09, 302.79°)
OKLaboklab(43.86% 0.0181 -0.2092)
OKLCHoklch(43.86% 0.21 274.9)
XYZxyz(12.7524, 7.3396, 51.7731)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A35C2 #BDC235
analogous
#3576C2 #3A35C2 #8035C2
triadic
#3A35C2 #C23A35 #35C23A
tetradic
#3A35C2 #C23576 #BDC235 #35C280
square
#3A35C2 #C23576 #BDC235 #35C280
split-complementary
#3A35C2 #C28035 #76C235
monochromatic
#1D1B62 #2C2892 #3A35C2 #6560D4 #9391E1

Accessibility & contrast

On white

8.51
#3A35C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3A35C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A35C2
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A35C2#FFFFFF#000000##FFFFFF
##3A35C21.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#0046BF
Tritanopia (blue-blind)
#005D78
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a35c2;
/* rgb */ color: rgb(58, 53, 194);
/* oklch */ color: oklch(43.9% 0.210 274.9);
Tailwind
colors: {
  custom: {
    50: '#846ed6',
    500: '#3a35c2',
    950: '#000000',
  },
}
SCSS
$custom: #3a35c2;
$custom-light: #846ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a35c2",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 242.128,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43857,
    "c": 0.21,
    "h": 274.9
  },
  "luminance": 0.07341
}

Semantic roles & 50–950 ramp

primary
#3A35C2
secondary
#C9CC87
accent
#E047DB
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3A35C2

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

Preview Lab → · Contrast checker → · Palette generator →

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