#3531B2#3531B2

#3531B2 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.3% C 0.196 H 275.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#3531B2
RGBrgb(53, 49, 178)
HSLhsl(242, 57%, 45%)
HSVhsv(242, 72%, 70%)
CMYKcmyk(70.2%, 72.5%, 0%, 30.2%)
CIE-LABlab(29.83, 43.13, -67.42)
CIE-LCHlch(29.83, 80.04, 302.61°)
OKLaboklab(41.34% 0.017 -0.1949)
OKLCHoklch(41.34% 0.196 275)
XYZxyz(10.5997, 6.1669, 42.7426)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3531B2 #AEB231
analogous
#316EB2 #3531B2 #7531B2
triadic
#3531B2 #B23531 #31B235
tetradic
#3531B2 #B2316E #AEB231 #31B275
square
#3531B2 #B2316E #AEB231 #31B275
split-complementary
#3531B2 #B27531 #6EB231
monochromatic
#181752 #272482 #3531B2 #5551CF #8481DC

Accessibility & contrast

On white

9.40
#3531B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3531B2#FFFFFF#000000##FFFFFF
##3531B21.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3531b2;
/* rgb */ color: rgb(53, 49, 178);
/* oklch */ color: oklch(41.3% 0.196 275.0);
Tailwind
colors: {
  custom: {
    50: '#7e6bca',
    500: '#3531b2',
    950: '#000000',
  },
}
SCSS
$custom: #3531b2;
$custom-light: #7e6bca;
$custom-dark: #000000;
JSON
{
  "hex": "#3531b2",
  "rgb": {
    "r": 53,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 241.86,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41342,
    "c": 0.19565,
    "h": 275
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#3531B2
secondary
#C3C579
accent
#E048DB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3531B2

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

Preview Lab → · Contrast checker → · Palette generator →

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