#3531B3#3531B3

#3531B3 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.4% C 0.197 H 274.9°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#3531B3
RGBrgb(53, 49, 179)
HSLhsl(242, 57%, 45%)
HSVhsv(242, 73%, 70%)
CMYKcmyk(70.4%, 72.6%, 0%, 29.8%)
CIE-LABlab(29.93, 43.46, -67.86)
CIE-LCHlch(29.93, 80.58, 302.64°)
OKLaboklab(41.44% 0.0168 -0.1962)
OKLCHoklch(41.44% 0.197 274.9)
XYZxyz(10.7005, 6.2072, 43.2733)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3531B3 #AFB331
analogous
#316EB3 #3531B3 #7631B3
triadic
#3531B3 #B33531 #31B335
tetradic
#3531B3 #B3316E #AFB331 #31B376
square
#3531B3 #B3316E #AFB331 #31B376
split-complementary
#3531B3 #B37631 #6EB331
monochromatic
#191753 #272483 #3531B3 #5652D0 #8482DD

Accessibility & contrast

On white

9.37
#3531B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3531B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3531B3#FFFFFF#000000##FFFFFF
##3531B31.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0040B1
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3531b3;
/* rgb */ color: rgb(53, 49, 179);
/* oklch */ color: oklch(41.4% 0.197 274.9);
Tailwind
colors: {
  custom: {
    50: '#7f6bcb',
    500: '#3531b3',
    950: '#000000',
  },
}
SCSS
$custom: #3531b3;
$custom-light: #7f6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3531b3",
  "rgb": {
    "r": 53,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 241.846,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41443,
    "c": 0.19689,
    "h": 274.9
  },
  "luminance": 0.06208
}

Semantic roles & 50–950 ramp

primary
#3531B3
secondary
#C4C67A
accent
#E048DC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3531B3

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

Preview Lab → · Contrast checker → · Palette generator →

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