#3531A2#3531A2

#3531A2 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.175 H 276.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#3531A2
RGBrgb(53, 49, 162)
HSLhsl(242, 54%, 41%)
HSVhsv(242, 70%, 64%)
CMYKcmyk(67.3%, 69.8%, 0%, 36.5%)
CIE-LABlab(28.28, 37.77, -60.36)
CIE-LCHlch(28.28, 71.20, 302.03°)
OKLaboklab(39.76% 0.0196 -0.1743)
OKLCHoklch(39.76% 0.175 276.4)
XYZxyz(9.0860, 5.5614, 34.7700)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3531A2 #9EA231
analogous
#3166A2 #3531A2 #6E31A2
triadic
#3531A2 #A23531 #31A235
tetradic
#3531A2 #A23166 #9EA231 #31A26E
square
#3531A2 #A23166 #9EA231 #31A26E
split-complementary
#3531A2 #A26E31 #66A231
monochromatic
#161544 #262373 #3531A2 #4D48C8 #7B77D6

Accessibility & contrast

On white

9.94
#3531A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3531A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3531A2
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3531A2#FFFFFF#000000##FFFFFF
##3531A21.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3531a2;
/* rgb */ color: rgb(53, 49, 162);
/* oklch */ color: oklch(39.8% 0.175 276.4);
Tailwind
colors: {
  custom: {
    50: '#7b6abf',
    500: '#3531a2',
    950: '#000000',
  },
}
SCSS
$custom: #3531a2;
$custom-light: #7b6abf;
$custom-dark: #000000;
JSON
{
  "hex": "#3531a2",
  "rgb": {
    "r": 53,
    "g": 49,
    "b": 162
  },
  "hsl": {
    "h": 242.124,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39761,
    "c": 0.17538,
    "h": 276.4
  },
  "luminance": 0.05562
}

Semantic roles & 50–950 ramp

primary
#3531A2
secondary
#BBBE71
accent
#DD4BD8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3531A2

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

Preview Lab → · Contrast checker → · Palette generator →

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