#3A35C1#3A35C1

#3A35C1 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.8% C 0.209 H 275.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#3A35C1
RGBrgb(58, 53, 193)
HSLhsl(242, 57%, 48%)
HSVhsv(242, 73%, 76%)
CMYKcmyk(69.9%, 72.5%, 0%, 24.3%)
CIE-LABlab(32.47, 46.30, -71.94)
CIE-LCHlch(32.47, 85.55, 302.77°)
OKLaboklab(43.76% 0.0183 -0.208)
OKLCHoklch(43.76% 0.209 275)
XYZxyz(12.6405, 7.2948, 51.1836)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A35C1 #BCC135
analogous
#3576C1 #3A35C1 #8035C1
triadic
#3A35C1 #C13A35 #35C13A
tetradic
#3A35C1 #C13576 #BCC135 #35C180
square
#3A35C1 #C13576 #BCC135 #35C180
split-complementary
#3A35C1 #C18035 #76C135
monochromatic
#1D1B61 #2C2891 #3A35C1 #6460D3 #9390E0

Accessibility & contrast

On white

8.54
#3A35C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3A35C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A35C1
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A35C1#FFFFFF#000000##FFFFFF
##3A35C11.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C5
Deuteranopia (green-blind)
#0046BE
Tritanopia (blue-blind)
#005D78
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a35c1;
/* rgb */ color: rgb(58, 53, 193);
/* oklch */ color: oklch(43.8% 0.209 275.0);
Tailwind
colors: {
  custom: {
    50: '#836ed5',
    500: '#3a35c1',
    950: '#000000',
  },
}
SCSS
$custom: #3a35c1;
$custom-light: #836ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a35c1",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 193
  },
  "hsl": {
    "h": 242.143,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43757,
    "c": 0.20878,
    "h": 275
  },
  "luminance": 0.07296
}

Semantic roles & 50–950 ramp

primary
#3A35C1
secondary
#C9CB87
accent
#E048DB
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3A35C1

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

Preview Lab → · Contrast checker → · Palette generator →

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