#3535A2#3535A2

#3535A2 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.171 H 275.6°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#3535A2
RGBrgb(53, 53, 162)
HSLhsl(240, 51%, 42%)
HSVhsv(240, 67%, 64%)
CMYKcmyk(67.3%, 67.3%, 0%, 36.5%)
CIE-LABlab(29.19, 35.31, -58.87)
CIE-LCHlch(29.19, 68.65, 300.95°)
OKLaboklab(40.42% 0.0167 -0.1699)
OKLCHoklch(40.42% 0.171 275.6)
XYZxyz(9.2607, 5.9109, 34.8283)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3535A2 #A2A235
analogous
#356CA2 #3535A2 #6C35A2
triadic
#3535A2 #A23535 #35A235
tetradic
#3535A2 #A2356C #A2A235 #35A26C
square
#3535A2 #A2356C #A2A235 #35A26C
split-complementary
#3535A2 #A26C35 #6CA235
monochromatic
#171746 #262674 #3535A2 #4F4FC5 #7D7DD4

Accessibility & contrast

On white

9.62
#3535A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3535A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3535A2
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3535A2#FFFFFF#000000##FFFFFF
##3535A21.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#0040A0
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3535a2;
/* rgb */ color: rgb(53, 53, 162);
/* oklch */ color: oklch(40.4% 0.171 275.6);
Tailwind
colors: {
  custom: {
    50: '#7b6dbf',
    500: '#3535a2',
    950: '#000000',
  },
}
SCSS
$custom: #3535a2;
$custom-light: #7b6dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3535a2",
  "rgb": {
    "r": 53,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 240,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40417,
    "c": 0.17073,
    "h": 275.6
  },
  "luminance": 0.05912
}

Semantic roles & 50–950 ramp

primary
#3535A2
secondary
#BDBD75
accent
#DA4EDA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3535A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3535A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva