#3541D2#3541D2

#3541D2 is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.0% C 0.218 H 271.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#3541D2
RGBrgb(53, 65, 210)
HSLhsl(235, 64%, 52%)
HSVhsv(235, 75%, 82%)
CMYKcmyk(74.8%, 69%, 0%, 17.6%)
CIE-LABlab(36.35, 44.50, -75.47)
CIE-LCHlch(36.35, 87.61, 300.52°)
OKLaboklab(46.96% 0.0038 -0.2184)
OKLCHoklch(46.96% 0.218 271)
XYZxyz(14.9874, 9.1890, 61.9441)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3541D2 #D2C635
analogous
#3590D2 #3541D2 #7835D2
triadic
#3541D2 #D23541 #41D235
tetradic
#3541D2 #D23590 #D2C635 #35D278
square
#3541D2 #D23590 #D2C635 #35D278
split-complementary
#3541D2 #D27835 #90D235
monochromatic
#1A2073 #252FA5 #3541D2 #6770DD #999FE8

Accessibility & contrast

On white

7.40
#3541D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3541D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3541D2
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3541D2#FFFFFF#000000##FFFFFF
##3541D21.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD6
Deuteranopia (green-blind)
#004ECF
Tritanopia (blue-blind)
#006984
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3541d2;
/* rgb */ color: rgb(53, 65, 210);
/* oklch */ color: oklch(47.0% 0.218 271.0);
Tailwind
colors: {
  custom: {
    50: '#8476e1',
    500: '#3541d2',
    950: '#000000',
  },
}
SCSS
$custom: #3541d2;
$custom-light: #8476e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3541d2",
  "rgb": {
    "r": 53,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 235.414,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46955,
    "c": 0.21844,
    "h": 271
  },
  "luminance": 0.09191
}

Semantic roles & 50–950 ramp

primary
#3541D2
secondary
#D4CF8F
accent
#DA41E7
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0815
muted
#7E7B84

Preview Lab

Preview with #3541D2

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

Preview Lab → · Contrast checker → · Palette generator →

#3541D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva