#3B35C5#3B35C5

#3B35C5 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.2% C 0.213 H 275.1°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#3B35C5
RGBrgb(59, 53, 197)
HSLhsl(243, 58%, 49%)
HSVhsv(243, 73%, 77%)
CMYKcmyk(70.1%, 73.1%, 0%, 22.7%)
CIE-LABlab(32.93, 47.70, -73.52)
CIE-LCHlch(32.93, 87.64, 302.97°)
OKLaboklab(44.22% 0.0188 -0.2126)
OKLCHoklch(44.22% 0.213 275.1)
XYZxyz(13.1515, 7.5060, 53.5682)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B35C5 #BFC535
analogous
#3577C5 #3B35C5 #8335C5
triadic
#3B35C5 #C53B35 #35C53B
tetradic
#3B35C5 #C53577 #BFC535 #35C583
square
#3B35C5 #C53577 #BFC535 #35C583
split-complementary
#3B35C5 #C58335 #77C535
monochromatic
#1E1B65 #2D2895 #3B35C5 #6762D5 #9693E2

Accessibility & contrast

On white

8.40
#3B35C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3B35C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B35C5
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B35C5#FFFFFF#000000##FFFFFF
##3B35C51.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C9
Deuteranopia (green-blind)
#0047C2
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3b35c5;
/* rgb */ color: rgb(59, 53, 197);
/* oklch */ color: oklch(44.2% 0.213 275.1);
Tailwind
colors: {
  custom: {
    50: '#856ed8',
    500: '#3b35c5',
    950: '#000000',
  },
}
SCSS
$custom: #3b35c5;
$custom-light: #856ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b35c5",
  "rgb": {
    "r": 59,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 242.5,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.44223,
    "c": 0.21339,
    "h": 275.1
  },
  "luminance": 0.07507
}

Semantic roles & 50–950 ramp

primary
#3B35C5
secondary
#CACD89
accent
#E147DA
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3B35C5

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

Preview Lab → · Contrast checker → · Palette generator →

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