#3A35D0#3A35D0

#3A35D0 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.3% C 0.227 H 273.9°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#3A35D0
RGBrgb(58, 53, 208)
HSLhsl(242, 62%, 51%)
HSVhsv(242, 75%, 82%)
CMYKcmyk(72.1%, 74.5%, 0%, 18.4%)
CIE-LABlab(33.98, 51.12, -78.20)
CIE-LCHlch(33.98, 93.43, 303.17°)
OKLaboklab(45.28% 0.0155 -0.2262)
OKLCHoklch(45.28% 0.227 273.9)
XYZxyz(14.3994, 7.9984, 60.4473)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A35D0 #CBD035
analogous
#357ED0 #3A35D0 #8735D0
triadic
#3A35D0 #D03A35 #35D03A
tetradic
#3A35D0 #D0357E #CBD035 #35D087
square
#3A35D0 #D0357E #CBD035 #35D087
split-complementary
#3A35D0 #D08735 #7ED035
monochromatic
#1D1A70 #2A26A2 #3A35D0 #6A67DC #9B98E7

Accessibility & contrast

On white

8.08
#3A35D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3A35D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A35D0
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A35D0#FFFFFF#000000##FFFFFF
##3A35D01.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D4
Deuteranopia (green-blind)
#0048CD
Tritanopia (blue-blind)
#006280
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a35d0;
/* rgb */ color: rgb(58, 53, 208);
/* oklch */ color: oklch(45.3% 0.227 273.9);
Tailwind
colors: {
  custom: {
    50: '#876fe0',
    500: '#3a35d0',
    950: '#000000',
  },
}
SCSS
$custom: #3a35d0;
$custom-light: #876fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a35d0",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 208
  },
  "hsl": {
    "h": 241.935,
    "s": 62.249,
    "l": 51.176
  },
  "oklch": {
    "l": 0.4528,
    "c": 0.22675,
    "h": 273.9
  },
  "luminance": 0.08
}

Semantic roles & 50–950 ramp

primary
#3A35D0
secondary
#D0D38E
accent
#E542E0
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3A35D0

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

Preview Lab → · Contrast checker → · Palette generator →

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