#3541BD#3541BD

#3541BD is a dark, vivid blue. Relative luminance 0.082; OKLCH L 45.0% C 0.192 H 271.7°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#3541BD
RGBrgb(53, 65, 189)
HSLhsl(235, 56%, 47%)
HSVhsv(235, 72%, 74%)
CMYKcmyk(72%, 65.6%, 0%, 25.9%)
CIE-LABlab(34.42, 37.23, -66.40)
CIE-LCHlch(34.42, 76.12, 299.28°)
OKLaboklab(44.97% 0.0058 -0.1919)
OKLCHoklch(44.97% 0.192 271.7)
XYZxyz(12.5407, 8.2103, 49.0581)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3541BD #BDB135
analogous
#3585BD #3541BD #6D35BD
triadic
#3541BD #BD3541 #41BD35
tetradic
#3541BD #BD3585 #BDB135 #35BD6D
square
#3541BD #BD3585 #BDB135 #35BD6D
split-complementary
#3541BD #BD6D35 #85BD35
monochromatic
#1A205D #28318D #3541BD #5D68D2 #8D95DF

Accessibility & contrast

On white

7.95
#3541BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3541BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3541BD
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3541BD#FFFFFF#000000##FFFFFF
##3541BD1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#004BBB
Tritanopia (blue-blind)
#006279
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3541bd;
/* rgb */ color: rgb(53, 65, 189);
/* oklch */ color: oklch(45.0% 0.192 271.7);
Tailwind
colors: {
  custom: {
    50: '#7f76d2',
    500: '#3541bd',
    950: '#000000',
  },
}
SCSS
$custom: #3541bd;
$custom-light: #7f76d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3541bd",
  "rgb": {
    "r": 53,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 234.706,
    "s": 56.198,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44968,
    "c": 0.192,
    "h": 271.7
  },
  "luminance": 0.08212
}

Semantic roles & 50–950 ramp

primary
#3541BD
secondary
#CAC384
accent
#D248DF
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3541BD

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

Preview Lab → · Contrast checker → · Palette generator →

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