#3541B5#3541B5

#3541B5 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.182 H 272.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#3541B5
RGBrgb(53, 65, 181)
HSLhsl(234, 55%, 46%)
HSVhsv(234, 71%, 71%)
CMYKcmyk(70.7%, 64.1%, 0%, 29%)
CIE-LABlab(33.72, 34.41, -62.83)
CIE-LCHlch(33.72, 71.63, 298.71°)
OKLaboklab(44.24% 0.0063 -0.1814)
OKLCHoklch(44.24% 0.182 272)
XYZxyz(11.6962, 7.8725, 44.6103)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3541B5 #B5A935
analogous
#3581B5 #3541B5 #6935B5
triadic
#3541B5 #B53541 #41B535
tetradic
#3541B5 #B53581 #B5A935 #35B569
square
#3541B5 #B53581 #B5A935 #35B569
split-complementary
#3541B5 #B56935 #81B535
monochromatic
#191F56 #273086 #3541B5 #5964CE #8890DC

Accessibility & contrast

On white

8.16
#3541B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3541B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3541B5
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3541B5#FFFFFF#000000##FFFFFF
##3541B51.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0049B3
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3541b5;
/* rgb */ color: rgb(53, 65, 181);
/* oklch */ color: oklch(44.2% 0.182 272.0);
Tailwind
colors: {
  custom: {
    50: '#7e75cc',
    500: '#3541b5',
    950: '#000000',
  },
}
SCSS
$custom: #3541b5;
$custom-light: #7e75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3541b5",
  "rgb": {
    "r": 53,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 234.375,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44239,
    "c": 0.18155,
    "h": 272
  },
  "luminance": 0.07874
}

Semantic roles & 50–950 ramp

primary
#3541B5
secondary
#C6C080
accent
#D04ADE
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3541B5

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

Preview Lab → · Contrast checker → · Palette generator →

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