#3531B5#3531B5

#3531B5 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.6% C 0.199 H 274.7°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#3531B5
RGBrgb(53, 49, 181)
HSLhsl(242, 57%, 45%)
HSVhsv(242, 73%, 71%)
CMYKcmyk(70.7%, 72.9%, 0%, 29%)
CIE-LABlab(30.13, 44.12, -68.72)
CIE-LCHlch(30.13, 81.66, 302.70°)
OKLaboklab(41.65% 0.0165 -0.1987)
OKLCHoklch(41.65% 0.199 274.7)
XYZxyz(10.9042, 6.2887, 44.3463)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3531B5 #B1B531
analogous
#316FB5 #3531B5 #7731B5
triadic
#3531B5 #B53531 #31B535
tetradic
#3531B5 #B5316F #B1B531 #31B577
square
#3531B5 #B5316F #B1B531 #31B577
split-complementary
#3531B5 #B57731 #6FB531
monochromatic
#191755 #272485 #3531B5 #5753D0 #8683DD

Accessibility & contrast

On white

9.30
#3531B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3531B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3531B5
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3531B5#FFFFFF#000000##FFFFFF
##3531B51.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0041B3
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3531b5;
/* rgb */ color: rgb(53, 49, 181);
/* oklch */ color: oklch(41.6% 0.199 274.7);
Tailwind
colors: {
  custom: {
    50: '#7f6bcc',
    500: '#3531b5',
    950: '#000000',
  },
}
SCSS
$custom: #3531b5;
$custom-light: #7f6bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3531b5",
  "rgb": {
    "r": 53,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 241.818,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41646,
    "c": 0.19936,
    "h": 274.7
  },
  "luminance": 0.0629
}

Semantic roles & 50–950 ramp

primary
#3531B5
secondary
#C4C77B
accent
#E147DC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3531B5

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

Preview Lab → · Contrast checker → · Palette generator →

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