#3A35C4#3A35C4

#3A35C4 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.1% C 0.212 H 274.8°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#3A35C4
RGBrgb(58, 53, 196)
HSLhsl(242, 57%, 49%)
HSVhsv(242, 73%, 77%)
CMYKcmyk(70.4%, 73%, 0%, 23.1%)
CIE-LABlab(32.77, 47.27, -73.21)
CIE-LCHlch(32.77, 87.15, 302.85°)
OKLaboklab(44.06% 0.0177 -0.2117)
OKLCHoklch(44.06% 0.212 274.8)
XYZxyz(12.9785, 7.4300, 52.9640)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A35C4 #BFC435
analogous
#3578C4 #3A35C4 #8235C4
triadic
#3A35C4 #C43A35 #35C43A
tetradic
#3A35C4 #C43578 #BFC435 #35C482
square
#3A35C4 #C43578 #BFC435 #35C482
split-complementary
#3A35C4 #C48235 #78C435
monochromatic
#1D1B64 #2C2894 #3A35C4 #6662D4 #9592E1

Accessibility & contrast

On white

8.45
#3A35C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3A35C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A35C4
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A35C4#FFFFFF#000000##FFFFFF
##3A35C41.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#0046C1
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a35c4;
/* rgb */ color: rgb(58, 53, 196);
/* oklch */ color: oklch(44.1% 0.212 274.8);
Tailwind
colors: {
  custom: {
    50: '#846ed7',
    500: '#3a35c4',
    950: '#000000',
  },
}
SCSS
$custom: #3a35c4;
$custom-light: #846ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a35c4",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 242.098,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44058,
    "c": 0.21242,
    "h": 274.8
  },
  "luminance": 0.07431
}

Semantic roles & 50–950 ramp

primary
#3A35C4
secondary
#CACC88
accent
#E147DB
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3A35C4

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

Preview Lab → · Contrast checker → · Palette generator →

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