#3541B3#3541B3

#3541B3 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.1% C 0.179 H 272.1°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#3541B3
RGBrgb(53, 65, 179)
HSLhsl(234, 54%, 45%)
HSVhsv(234, 70%, 70%)
CMYKcmyk(70.4%, 63.7%, 0%, 29.8%)
CIE-LABlab(33.54, 33.69, -61.92)
CIE-LCHlch(33.54, 70.50, 298.55°)
OKLaboklab(44.06% 0.0064 -0.1788)
OKLCHoklch(44.06% 0.179 272.1)
XYZxyz(11.4924, 7.7910, 43.5372)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3541B3 #B3A735
analogous
#3580B3 #3541B3 #6835B3
triadic
#3541B3 #B33541 #41B335
tetradic
#3541B3 #B33580 #B3A735 #35B368
square
#3541B3 #B33580 #B3A735 #35B368
split-complementary
#3541B3 #B36835 #80B335
monochromatic
#191F55 #273084 #3541B3 #5863CD #878FDB

Accessibility & contrast

On white

8.21
#3541B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3541B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3541B3
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3541B3#FFFFFF#000000##FFFFFF
##3541B31.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3541b3;
/* rgb */ color: rgb(53, 65, 179);
/* oklch */ color: oklch(44.1% 0.179 272.1);
Tailwind
colors: {
  custom: {
    50: '#7d75cb',
    500: '#3541b3',
    950: '#000000',
  },
}
SCSS
$custom: #3541b3;
$custom-light: #7d75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3541b3",
  "rgb": {
    "r": 53,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 234.286,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4406,
    "c": 0.17891,
    "h": 272.1
  },
  "luminance": 0.07792
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3541B3

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

Preview Lab → · Contrast checker → · Palette generator →

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