#3531BB#3531BB

#3531BB is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.3% C 0.207 H 274.3°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#3531BB
RGBrgb(53, 49, 187)
HSLhsl(242, 58%, 46%)
HSVhsv(242, 74%, 73%)
CMYKcmyk(71.7%, 73.8%, 0%, 26.7%)
CIE-LABlab(30.74, 46.09, -71.27)
CIE-LCHlch(30.74, 84.88, 302.89°)
OKLaboklab(42.26% 0.0154 -0.2061)
OKLCHoklch(42.26% 0.207 274.3)
XYZxyz(11.5332, 6.5402, 47.6587)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3531BB #B7BB31
analogous
#3172BB #3531BB #7A31BB
triadic
#3531BB #BB3531 #31BB35
tetradic
#3531BB #BB3172 #B7BB31 #31BB7A
square
#3531BB #BB3172 #B7BB31 #31BB7A
split-complementary
#3531BB #BB7A31 #72BB31
monochromatic
#1A185A #27248B #3531BB #5A56D3 #8987E0

Accessibility & contrast

On white

9.10
#3531BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3531BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3531BB
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3531BB#FFFFFF#000000##FFFFFF
##3531BB1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBF
Deuteranopia (green-blind)
#0042B9
Tritanopia (blue-blind)
#005973
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3531bb;
/* rgb */ color: rgb(53, 49, 187);
/* oklch */ color: oklch(42.3% 0.207 274.3);
Tailwind
colors: {
  custom: {
    50: '#806bd1',
    500: '#3531bb',
    950: '#000000',
  },
}
SCSS
$custom: #3531bb;
$custom-light: #806bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3531bb",
  "rgb": {
    "r": 53,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 241.739,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42259,
    "c": 0.2067,
    "h": 274.3
  },
  "luminance": 0.06541
}

Semantic roles & 50–950 ramp

primary
#3531BB
secondary
#C7C97F
accent
#E246DD
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3531BB

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

Preview Lab → · Contrast checker → · Palette generator →

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