#3A35B6#3A35B6

#3A35B6 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.7% C 0.195 H 275.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#3A35B6
RGBrgb(58, 53, 182)
HSLhsl(242, 55%, 46%)
HSVhsv(242, 71%, 71%)
CMYKcmyk(68.1%, 70.9%, 0%, 28.6%)
CIE-LABlab(31.40, 42.70, -67.21)
CIE-LCHlch(31.40, 79.63, 302.43°)
OKLaboklab(42.67% 0.0202 -0.1942)
OKLCHoklch(42.67% 0.195 275.9)
XYZxyz(11.4588, 6.8221, 44.9598)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A35B6 #B1B635
analogous
#3570B6 #3A35B6 #7A35B6
triadic
#3A35B6 #B63A35 #35B63A
tetradic
#3A35B6 #B63570 #B1B635 #35B67A
square
#3A35B6 #B63570 #B1B635 #35B67A
split-complementary
#3A35B6 #B67A35 #70B635
monochromatic
#1C1957 #2B2787 #3A35B6 #5E59CF #8C89DD

Accessibility & contrast

On white

8.88
#3A35B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3A35B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A35B6
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A35B6#FFFFFF#000000##FFFFFF
##3A35B61.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BA
Deuteranopia (green-blind)
#0044B4
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a35b6;
/* rgb */ color: rgb(58, 53, 182);
/* oklch */ color: oklch(42.7% 0.195 275.9);
Tailwind
colors: {
  custom: {
    50: '#816ecd',
    500: '#3a35b6',
    950: '#000000',
  },
}
SCSS
$custom: #3a35b6;
$custom-light: #816ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a35b6",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 182
  },
  "hsl": {
    "h": 242.326,
    "s": 54.894,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4267,
    "c": 0.19521,
    "h": 275.9
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#3A35B6
secondary
#C4C780
accent
#DE4AD8
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3A35B6

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

Preview Lab → · Contrast checker → · Palette generator →

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