#3A35BA#3A35BA

#3A35BA is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.1% C 0.200 H 275.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#3A35BA
RGBrgb(58, 53, 186)
HSLhsl(242, 56%, 47%)
HSVhsv(242, 72%, 73%)
CMYKcmyk(68.8%, 71.5%, 0%, 27.1%)
CIE-LABlab(31.78, 44.02, -68.94)
CIE-LCHlch(31.78, 81.80, 302.56°)
OKLaboklab(43.06% 0.0195 -0.1992)
OKLCHoklch(43.06% 0.2 275.6)
XYZxyz(11.8780, 6.9898, 47.1681)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A35BA #B5BA35
analogous
#3572BA #3A35BA #7D35BA
triadic
#3A35BA #BA3A35 #35BA3A
tetradic
#3A35BA #BA3572 #B5BA35 #35BA7D
square
#3A35BA #BA3572 #B5BA35 #35BA7D
split-complementary
#3A35BA #BA7D35 #72BA35
monochromatic
#1C1A5B #2B278A #3A35BA #605CD0 #8E8BDE

Accessibility & contrast

On white

8.76
#3A35BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3A35BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A35BA
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A35BA#FFFFFF#000000##FFFFFF
##3A35BA1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BE
Deuteranopia (green-blind)
#0045B8
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a35ba;
/* rgb */ color: rgb(58, 53, 186);
/* oklch */ color: oklch(43.1% 0.200 275.6);
Tailwind
colors: {
  custom: {
    50: '#826ed0',
    500: '#3a35ba',
    950: '#000000',
  },
}
SCSS
$custom: #3a35ba;
$custom-light: #826ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a35ba",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 242.256,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43062,
    "c": 0.20019,
    "h": 275.6
  },
  "luminance": 0.06991
}

Semantic roles & 50–950 ramp

primary
#3A35BA
secondary
#C6C882
accent
#DF49D9
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3A35BA

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

Preview Lab → · Contrast checker → · Palette generator →

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