#3531B7#3531B7

#3531B7 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 41.8% C 0.202 H 274.6°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#3531B7
RGBrgb(53, 49, 183)
HSLhsl(242, 58%, 45%)
HSVhsv(242, 73%, 72%)
CMYKcmyk(71%, 73.2%, 0%, 28.2%)
CIE-LABlab(30.33, 44.78, -69.57)
CIE-LCHlch(30.33, 82.74, 302.77°)
OKLaboklab(41.85% 0.0161 -0.2012)
OKLCHoklch(41.85% 0.202 274.6)
XYZxyz(11.1109, 6.3713, 45.4348)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3531B7 #B3B731
analogous
#3170B7 #3531B7 #7831B7
triadic
#3531B7 #B73531 #31B735
tetradic
#3531B7 #B73170 #B3B731 #31B778
square
#3531B7 #B73170 #B3B731 #31B778
split-complementary
#3531B7 #B77831 #70B731
monochromatic
#191756 #272487 #3531B7 #5854D1 #8784DE

Accessibility & contrast

On white

9.23
#3531B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3531B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3531B7
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3531B7#FFFFFF#000000##FFFFFF
##3531B71.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBB
Deuteranopia (green-blind)
#0041B5
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3531b7;
/* rgb */ color: rgb(53, 49, 183);
/* oklch */ color: oklch(41.8% 0.202 274.6);
Tailwind
colors: {
  custom: {
    50: '#806bce',
    500: '#3531b7',
    950: '#000000',
  },
}
SCSS
$custom: #3531b7;
$custom-light: #806bce;
$custom-dark: #000000;
JSON
{
  "hex": "#3531b7",
  "rgb": {
    "r": 53,
    "g": 49,
    "b": 183
  },
  "hsl": {
    "h": 241.791,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.41849,
    "c": 0.20182,
    "h": 274.6
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3531B7

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

Preview Lab → · Contrast checker → · Palette generator →

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