#3531AA#3531AA

#3531AA is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.186 H 275.7°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#3531AA
RGBrgb(53, 49, 170)
HSLhsl(242, 55%, 43%)
HSVhsv(242, 71%, 67%)
CMYKcmyk(68.8%, 71.2%, 0%, 33.3%)
CIE-LABlab(29.04, 40.46, -63.93)
CIE-LCHlch(29.04, 75.66, 302.33°)
OKLaboklab(40.54% 0.0184 -0.1847)
OKLCHoklch(40.54% 0.186 275.7)
XYZxyz(9.8198, 5.8549, 38.6350)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3531AA #A6AA31
analogous
#316AAA #3531AA #7131AA
triadic
#3531AA #AA3531 #31AA35
tetradic
#3531AA #AA316A #A6AA31 #31AA71
square
#3531AA #AA316A #A6AA31 #31AA71
split-complementary
#3531AA #AA7131 #6AAA31
monochromatic
#17164B #26237A #3531AA #514DCC #7F7CD9

Accessibility & contrast

On white

9.67
#3531AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3531AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3531AA#FFFFFF#000000##FFFFFF
##3531AA1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3531aa;
/* rgb */ color: rgb(53, 49, 170);
/* oklch */ color: oklch(40.5% 0.186 275.7);
Tailwind
colors: {
  custom: {
    50: '#7d6ac4',
    500: '#3531aa',
    950: '#000000',
  },
}
SCSS
$custom: #3531aa;
$custom-light: #7d6ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#3531aa",
  "rgb": {
    "r": 53,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 241.983,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40543,
    "c": 0.18562,
    "h": 275.7
  },
  "luminance": 0.05856
}

Semantic roles & 50–950 ramp

primary
#3531AA
secondary
#BFC275
accent
#DF49DA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3531AA

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

Preview Lab → · Contrast checker → · Palette generator →

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