#3A35AA#3A35AA

#3A35AA is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.5% C 0.180 H 277.0°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#3A35AA
RGBrgb(58, 53, 170)
HSLhsl(243, 52%, 44%)
HSVhsv(243, 69%, 67%)
CMYKcmyk(65.9%, 68.8%, 0%, 33.3%)
CIE-LABlab(30.27, 38.71, -61.90)
CIE-LCHlch(30.27, 73.01, 302.02°)
OKLaboklab(41.52% 0.022 -0.1786)
OKLCHoklch(41.52% 0.18 277)
XYZxyz(10.2714, 6.3472, 38.7063)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A35AA #A5AA35
analogous
#356AAA #3A35AA #7435AA
triadic
#3A35AA #AA3A35 #35AA3A
tetradic
#3A35AA #AA356A #A5AA35 #35AA74
square
#3A35AA #AA356A #A5AA35 #35AA74
split-complementary
#3A35AA #AA7435 #6AAA35
monochromatic
#1A184D #2A267B #3A35AA #5853C9 #8582D8

Accessibility & contrast

On white

9.25
#3A35AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3A35AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A35AA
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A35AA#FFFFFF#000000##FFFFFF
##3A35AA1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3a35aa;
/* rgb */ color: rgb(58, 53, 170);
/* oklch */ color: oklch(41.5% 0.180 277.0);
Tailwind
colors: {
  custom: {
    50: '#7e6dc4',
    500: '#3a35aa',
    950: '#000000',
  },
}
SCSS
$custom: #3a35aa;
$custom-light: #7e6dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a35aa",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 242.564,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41518,
    "c": 0.17998,
    "h": 277
  },
  "luminance": 0.06348
}

Semantic roles & 50–950 ramp

primary
#3A35AA
secondary
#BEC17A
accent
#DC4CD6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3A35AA

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

Preview Lab → · Contrast checker → · Palette generator →

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