#3531AE#3531AE

#3531AE is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.191 H 275.3°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#3531AE
RGBrgb(53, 49, 174)
HSLhsl(242, 56%, 44%)
HSVhsv(242, 72%, 68%)
CMYKcmyk(69.5%, 71.8%, 0%, 31.8%)
CIE-LABlab(29.43, 41.80, -65.69)
CIE-LCHlch(29.43, 77.86, 302.47°)
OKLaboklab(40.94% 0.0177 -0.1898)
OKLCHoklch(40.94% 0.191 275.3)
XYZxyz(10.2040, 6.0086, 40.6582)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3531AE #AAAE31
analogous
#316BAE #3531AE #7331AE
triadic
#3531AE #AE3531 #31AE35
tetradic
#3531AE #AE316B #AAAE31 #31AE73
square
#3531AE #AE316B #AAAE31 #31AE73
split-complementary
#3531AE #AE7331 #6BAE31
monochromatic
#18164E #26247E #3531AE #534FCD #827FDB

Accessibility & contrast

On white

9.54
#3531AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3531AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3531AE#FFFFFF#000000##FFFFFF
##3531AE1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3531ae;
/* rgb */ color: rgb(53, 49, 174);
/* oklch */ color: oklch(40.9% 0.191 275.3);
Tailwind
colors: {
  custom: {
    50: '#7e6ac7',
    500: '#3531ae',
    950: '#000000',
  },
}
SCSS
$custom: #3531ae;
$custom-light: #7e6ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#3531ae",
  "rgb": {
    "r": 53,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 241.92,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40941,
    "c": 0.19066,
    "h": 275.3
  },
  "luminance": 0.0601
}

Semantic roles & 50–950 ramp

primary
#3531AE
secondary
#C1C477
accent
#DF48DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3531AE

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

Preview Lab → · Contrast checker → · Palette generator →

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