#3A35AE#3A35AE

#3A35AE is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.9% C 0.185 H 276.6°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#3A35AE
RGBrgb(58, 53, 174)
HSLhsl(242, 53%, 45%)
HSVhsv(242, 70%, 68%)
CMYKcmyk(66.7%, 69.5%, 0%, 31.8%)
CIE-LABlab(30.64, 40.05, -63.69)
CIE-LCHlch(30.64, 75.23, 302.16°)
OKLaboklab(41.9% 0.0214 -0.1839)
OKLCHoklch(41.9% 0.185 276.6)
XYZxyz(10.6555, 6.5008, 40.7294)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A35AE #A9AE35
analogous
#356DAE #3A35AE #7635AE
triadic
#3A35AE #AE3A35 #35AE3A
tetradic
#3A35AE #AE356D #A9AE35 #35AE76
square
#3A35AE #AE356D #A9AE35 #35AE76
split-complementary
#3A35AE #AE7635 #6DAE35
monochromatic
#1B1850 #2A277F #3A35AE #5A55CB #8784DA

Accessibility & contrast

On white

9.13
#3A35AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3A35AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A35AE
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A35AE#FFFFFF#000000##FFFFFF
##3A35AE1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a35ae;
/* rgb */ color: rgb(58, 53, 174);
/* oklch */ color: oklch(41.9% 0.185 276.6);
Tailwind
colors: {
  custom: {
    50: '#7f6dc7',
    500: '#3a35ae',
    950: '#000000',
  },
}
SCSS
$custom: #3a35ae;
$custom-light: #7f6dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a35ae",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 242.479,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41898,
    "c": 0.18511,
    "h": 276.6
  },
  "luminance": 0.06502
}

Semantic roles & 50–950 ramp

primary
#3A35AE
secondary
#C0C37C
accent
#DD4BD7
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3A35AE

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

Preview Lab → · Contrast checker → · Palette generator →

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