#3541B7#3541B7

#3541B7 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.4% C 0.184 H 271.9°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#3541B7
RGBrgb(53, 65, 183)
HSLhsl(234, 55%, 46%)
HSVhsv(234, 71%, 72%)
CMYKcmyk(71%, 64.5%, 0%, 28.2%)
CIE-LABlab(33.89, 35.11, -63.73)
CIE-LCHlch(33.89, 72.76, 298.86°)
OKLaboklab(44.42% 0.0062 -0.1841)
OKLCHoklch(44.42% 0.184 271.9)
XYZxyz(11.9029, 7.9552, 45.6988)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3541B7 #B7AB35
analogous
#3582B7 #3541B7 #6A35B7
triadic
#3541B7 #B73541 #41B735
tetradic
#3541B7 #B73582 #B7AB35 #35B76A
square
#3541B7 #B73582 #B7AB35 #35B76A
split-complementary
#3541B7 #B76A35 #82B735
monochromatic
#1A1F58 #273088 #3541B7 #5A65CF #8991DD

Accessibility & contrast

On white

8.10
#3541B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3541B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3541B7
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3541B7#FFFFFF#000000##FFFFFF
##3541B71.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#004AB5
Tritanopia (blue-blind)
#006076
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3541b7;
/* rgb */ color: rgb(53, 65, 183);
/* oklch */ color: oklch(44.4% 0.184 271.9);
Tailwind
colors: {
  custom: {
    50: '#7e75ce',
    500: '#3541b7',
    950: '#000000',
  },
}
SCSS
$custom: #3541b7;
$custom-light: #7e75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3541b7",
  "rgb": {
    "r": 53,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 234.462,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4442,
    "c": 0.18418,
    "h": 271.9
  },
  "luminance": 0.07956
}

Semantic roles & 50–950 ramp

primary
#3541B7
secondary
#C7C181
accent
#D149DE
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3541B7

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

Preview Lab → · Contrast checker → · Palette generator →

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