#3531B1#3531B1

#3531B1 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.2% C 0.194 H 275.1°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#3531B1
RGBrgb(53, 49, 177)
HSLhsl(242, 57%, 44%)
HSVhsv(242, 72%, 69%)
CMYKcmyk(70.1%, 72.3%, 0%, 30.6%)
CIE-LABlab(29.73, 42.80, -66.99)
CIE-LCHlch(29.73, 79.50, 302.57°)
OKLaboklab(41.24% 0.0172 -0.1936)
OKLCHoklch(41.24% 0.194 275.1)
XYZxyz(10.4997, 6.1268, 42.2157)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3531B1 #ADB131
analogous
#316DB1 #3531B1 #7531B1
triadic
#3531B1 #B13531 #31B135
tetradic
#3531B1 #B1316D #ADB131 #31B175
square
#3531B1 #B1316D #ADB131 #31B175
split-complementary
#3531B1 #B17531 #6DB131
monochromatic
#181651 #272481 #3531B1 #5451CF #8380DC

Accessibility & contrast

On white

9.44
#3531B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3531B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3531B1#FFFFFF#000000##FFFFFF
##3531B11.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3531b1;
/* rgb */ color: rgb(53, 49, 177);
/* oklch */ color: oklch(41.2% 0.194 275.1);
Tailwind
colors: {
  custom: {
    50: '#7e6bca',
    500: '#3531b1',
    950: '#000000',
  },
}
SCSS
$custom: #3531b1;
$custom-light: #7e6bca;
$custom-dark: #000000;
JSON
{
  "hex": "#3531b1",
  "rgb": {
    "r": 53,
    "g": 49,
    "b": 177
  },
  "hsl": {
    "h": 241.875,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41241,
    "c": 0.19441,
    "h": 275.1
  },
  "luminance": 0.06128
}

Semantic roles & 50–950 ramp

primary
#3531B1
secondary
#C3C579
accent
#E048DB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3531B1

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

Preview Lab → · Contrast checker → · Palette generator →

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