#3A35B2#3A35B2

#3A35B2 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.3% C 0.190 H 276.3°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#3A35B2
RGBrgb(58, 53, 178)
HSLhsl(242, 54%, 45%)
HSVhsv(242, 70%, 70%)
CMYKcmyk(67.4%, 70.2%, 0%, 30.2%)
CIE-LABlab(31.02, 41.38, -65.46)
CIE-LCHlch(31.02, 77.44, 302.30°)
OKLaboklab(42.28% 0.0208 -0.189)
OKLCHoklch(42.28% 0.19 276.3)
XYZxyz(11.0513, 6.6591, 42.8138)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A35B2 #ADB235
analogous
#356EB2 #3A35B2 #7835B2
triadic
#3A35B2 #B23A35 #35B23A
tetradic
#3A35B2 #B2356E #ADB235 #35B278
square
#3A35B2 #B2356E #ADB235 #35B278
split-complementary
#3A35B2 #B27835 #6EB235
monochromatic
#1B1954 #2B2783 #3A35B2 #5C57CD #8A86DB

Accessibility & contrast

On white

9.01
#3A35B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3A35B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A35B2
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A35B2#FFFFFF#000000##FFFFFF
##3A35B21.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a35b2;
/* rgb */ color: rgb(58, 53, 178);
/* oklch */ color: oklch(42.3% 0.190 276.3);
Tailwind
colors: {
  custom: {
    50: '#806dca',
    500: '#3a35b2',
    950: '#000000',
  },
}
SCSS
$custom: #3a35b2;
$custom-light: #806dca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a35b2",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 242.4,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42282,
    "c": 0.19019,
    "h": 276.3
  },
  "luminance": 0.0666
}

Semantic roles & 50–950 ramp

primary
#3A35B2
secondary
#C2C57E
accent
#DD4AD8
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3A35B2

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

Preview Lab → · Contrast checker → · Palette generator →

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