#3531AD#3531AD

#3531AD is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.8% C 0.189 H 275.4°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#3531AD
RGBrgb(53, 49, 173)
HSLhsl(242, 56%, 44%)
HSVhsv(242, 72%, 68%)
CMYKcmyk(69.4%, 71.7%, 0%, 32.2%)
CIE-LABlab(29.34, 41.47, -65.25)
CIE-LCHlch(29.34, 77.31, 302.44°)
OKLaboklab(40.84% 0.0179 -0.1886)
OKLCHoklch(40.84% 0.189 275.4)
XYZxyz(10.1069, 5.9697, 40.1467)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3531AD #A9AD31
analogous
#316BAD #3531AD #7331AD
triadic
#3531AD #AD3531 #31AD35
tetradic
#3531AD #AD316B #A9AD31 #31AD73
square
#3531AD #AD316B #A9AD31 #31AD73
split-complementary
#3531AD #AD7331 #6BAD31
monochromatic
#18164E #26237D #3531AD #524ECD #817EDA

Accessibility & contrast

On white

9.57
#3531AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3531AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3531AD#FFFFFF#000000##FFFFFF
##3531AD1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB1
Deuteranopia (green-blind)
#003FAB
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3531ad;
/* rgb */ color: rgb(53, 49, 173);
/* oklch */ color: oklch(40.8% 0.189 275.4);
Tailwind
colors: {
  custom: {
    50: '#7d6ac7',
    500: '#3531ad',
    950: '#000000',
  },
}
SCSS
$custom: #3531ad;
$custom-light: #7d6ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#3531ad",
  "rgb": {
    "r": 53,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 241.935,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40841,
    "c": 0.18941,
    "h": 275.4
  },
  "luminance": 0.05971
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3531AD

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

Preview Lab → · Contrast checker → · Palette generator →

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