#3A35C0#3A35C0

#3A35C0 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.7% C 0.208 H 275.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#3A35C0
RGBrgb(58, 53, 192)
HSLhsl(242, 57%, 48%)
HSVhsv(242, 72%, 75%)
CMYKcmyk(69.8%, 72.4%, 0%, 24.7%)
CIE-LABlab(32.37, 45.98, -71.52)
CIE-LCHlch(32.37, 85.02, 302.74°)
OKLaboklab(43.66% 0.0185 -0.2067)
OKLCHoklch(43.66% 0.208 275.1)
XYZxyz(12.5293, 7.2503, 50.5981)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A35C0 #BBC035
analogous
#3576C0 #3A35C0 #7F35C0
triadic
#3A35C0 #C03A35 #35C03A
tetradic
#3A35C0 #C03576 #BBC035 #35C07F
square
#3A35C0 #C03576 #BBC035 #35C07F
split-complementary
#3A35C0 #C07F35 #76C035
monochromatic
#1D1B60 #2C2890 #3A35C0 #635FD3 #928FE0

Accessibility & contrast

On white

8.57
#3A35C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3A35C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A35C0
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A35C0#FFFFFF#000000##FFFFFF
##3A35C01.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C4
Deuteranopia (green-blind)
#0046BD
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a35c0;
/* rgb */ color: rgb(58, 53, 192);
/* oklch */ color: oklch(43.7% 0.208 275.1);
Tailwind
colors: {
  custom: {
    50: '#836ed4',
    500: '#3a35c0',
    950: '#000000',
  },
}
SCSS
$custom: #3a35c0;
$custom-light: #836ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a35c0",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 192
  },
  "hsl": {
    "h": 242.158,
    "s": 56.735,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43657,
    "c": 0.20756,
    "h": 275.1
  },
  "luminance": 0.07252
}

Semantic roles & 50–950 ramp

primary
#3A35C0
secondary
#C8CB86
accent
#E048DB
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3A35C0

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

Preview Lab → · Contrast checker → · Palette generator →

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