#3A35C8#3A35C8

#3A35C8 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.5% C 0.217 H 274.5°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#3A35C8
RGBrgb(58, 53, 200)
HSLhsl(242, 58%, 50%)
HSVhsv(242, 74%, 78%)
CMYKcmyk(71%, 73.5%, 0%, 21.6%)
CIE-LABlab(33.17, 48.56, -74.89)
CIE-LCHlch(33.17, 89.26, 302.96°)
OKLaboklab(44.46% 0.017 -0.2166)
OKLCHoklch(44.46% 0.217 274.5)
XYZxyz(13.4399, 7.6146, 55.3938)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A35C8 #C3C835
analogous
#3579C8 #3A35C8 #8435C8
triadic
#3A35C8 #C83A35 #35C83A
tetradic
#3A35C8 #C83579 #C3C835 #35C884
square
#3A35C8 #C83579 #C3C835 #35C884
split-complementary
#3A35C8 #C88435 #79C835
monochromatic
#1E1B67 #2C2898 #3A35C8 #6864D6 #9795E3

Accessibility & contrast

On white

8.32
#3A35C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3A35C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A35C8
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A35C8#FFFFFF#000000##FFFFFF
##3A35C81.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CC
Deuteranopia (green-blind)
#0047C5
Tritanopia (blue-blind)
#005F7C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a35c8;
/* rgb */ color: rgb(58, 53, 200);
/* oklch */ color: oklch(44.5% 0.217 274.5);
Tailwind
colors: {
  custom: {
    50: '#856eda',
    500: '#3a35c8',
    950: '#000000',
  },
}
SCSS
$custom: #3a35c8;
$custom-light: #856eda;
$custom-dark: #000000;
JSON
{
  "hex": "#3a35c8",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 200
  },
  "hsl": {
    "h": 242.041,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44463,
    "c": 0.21724,
    "h": 274.5
  },
  "luminance": 0.07616
}

Semantic roles & 50–950 ramp

primary
#3A35C8
secondary
#CCCE8B
accent
#E146DC
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3A35C8

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

Preview Lab → · Contrast checker → · Palette generator →

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