#3A35B5#3A35B5

#3A35B5 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.6% C 0.194 H 276.0°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#3A35B5
RGBrgb(58, 53, 181)
HSLhsl(242, 55%, 46%)
HSVhsv(242, 71%, 71%)
CMYKcmyk(68%, 70.7%, 0%, 29%)
CIE-LABlab(31.30, 42.37, -66.77)
CIE-LCHlch(31.30, 79.08, 302.40°)
OKLaboklab(42.57% 0.0203 -0.1929)
OKLCHoklch(42.57% 0.194 276)
XYZxyz(11.3558, 6.7809, 44.4175)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A35B5 #B0B535
analogous
#3570B5 #3A35B5 #7A35B5
triadic
#3A35B5 #B53A35 #35B53A
tetradic
#3A35B5 #B53570 #B0B535 #35B57A
square
#3A35B5 #B53570 #B0B535 #35B57A
split-complementary
#3A35B5 #B57A35 #70B535
monochromatic
#1C1956 #2B2786 #3A35B5 #5D59CE #8B88DC

Accessibility & contrast

On white

8.91
#3A35B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A35B5
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A35B5#FFFFFF#000000##FFFFFF
##3A35B51.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB9
Deuteranopia (green-blind)
#0044B3
Tritanopia (blue-blind)
#005871
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a35b5;
/* rgb */ color: rgb(58, 53, 181);
/* oklch */ color: oklch(42.6% 0.194 276.0);
Tailwind
colors: {
  custom: {
    50: '#816dcc',
    500: '#3a35b5',
    950: '#000000',
  },
}
SCSS
$custom: #3a35b5;
$custom-light: #816dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a35b5",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 242.344,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42573,
    "c": 0.19397,
    "h": 276
  },
  "luminance": 0.06782
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A35B5

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

Preview Lab → · Contrast checker → · Palette generator →

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