#3531E2#3531E2

#3531E2 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.4% C 0.252 H 271.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#3531E2
RGBrgb(53, 49, 226)
HSLhsl(241, 75%, 54%)
HSVhsv(241, 78%, 89%)
CMYKcmyk(76.5%, 78.3%, 0%, 11.4%)
CIE-LABlab(34.89, 58.39, -87.07)
CIE-LCHlch(34.89, 104.84, 303.84°)
OKLaboklab(46.4% 0.0076 -0.252)
OKLCHoklch(46.4% 0.252 271.7)
XYZxyz(16.2894, 8.4427, 72.7079)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3531E2 #DEE231
analogous
#3186E2 #3531E2 #8E31E2
triadic
#3531E2 #E23531 #31E235
tetradic
#3531E2 #E23186 #DEE231 #31E28E
square
#3531E2 #E23186 #DEE231 #31E28E
split-complementary
#3531E2 #E28E31 #86E231
monochromatic
#151386 #1E1ABB #3531E2 #6A67EA #9E9CF1

Accessibility & contrast

On white

7.81
#3531E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3531E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3531E2
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3531E2#FFFFFF#000000##FFFFFF
##3531E21.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE7
Deuteranopia (green-blind)
#0049DF
Tritanopia (blue-blind)
#00688A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3531e2;
/* rgb */ color: rgb(53, 49, 226);
/* oklch */ color: oklch(46.4% 0.252 271.7);
Tailwind
colors: {
  custom: {
    50: '#896ded',
    500: '#3531e2',
    950: '#000000',
  },
}
SCSS
$custom: #3531e2;
$custom-light: #896ded;
$custom-dark: #000000;
JSON
{
  "hex": "#3531e2",
  "rgb": {
    "r": 53,
    "g": 49,
    "b": 226
  },
  "hsl": {
    "h": 241.356,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.46404,
    "c": 0.25215,
    "h": 271.7
  },
  "luminance": 0.08444
}

Semantic roles & 50–950 ramp

primary
#3531E2
secondary
#DBDD92
accent
#F236EE
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #3531E2

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

Preview Lab → · Contrast checker → · Palette generator →

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