#3531A3#3531A3

#3531A3 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.177 H 276.3°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#3531A3
RGBrgb(53, 49, 163)
HSLhsl(242, 54%, 42%)
HSVhsv(242, 70%, 64%)
CMYKcmyk(67.5%, 69.9%, 0%, 36.1%)
CIE-LABlab(28.37, 38.11, -60.81)
CIE-LCHlch(28.37, 71.76, 302.07°)
OKLaboklab(39.86% 0.0194 -0.1756)
OKLCHoklch(39.86% 0.177 276.3)
XYZxyz(9.1752, 5.5971, 35.2400)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3531A3 #9FA331
analogous
#3166A3 #3531A3 #6E31A3
triadic
#3531A3 #A33531 #31A335
tetradic
#3531A3 #A33166 #9FA331 #31A36E
square
#3531A3 #A33166 #9FA331 #31A36E
split-complementary
#3531A3 #A36E31 #66A331
monochromatic
#161545 #262374 #3531A3 #4D49C8 #7B78D6

Accessibility & contrast

On white

9.91
#3531A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3531A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3531A3
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3531A3#FFFFFF#000000##FFFFFF
##3531A31.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#003EA1
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3531a3;
/* rgb */ color: rgb(53, 49, 163);
/* oklch */ color: oklch(39.9% 0.177 276.3);
Tailwind
colors: {
  custom: {
    50: '#7b6abf',
    500: '#3531a3',
    950: '#000000',
  },
}
SCSS
$custom: #3531a3;
$custom-light: #7b6abf;
$custom-dark: #000000;
JSON
{
  "hex": "#3531a3",
  "rgb": {
    "r": 53,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 242.105,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39857,
    "c": 0.17667,
    "h": 276.3
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3531A3

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

Preview Lab → · Contrast checker → · Palette generator →

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