#3541B2#3541B2

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

Color values

HEX#3541B2
RGBrgb(53, 65, 178)
HSLhsl(234, 54%, 45%)
HSVhsv(234, 70%, 70%)
CMYKcmyk(70.2%, 63.5%, 0%, 30.2%)
CIE-LABlab(33.46, 33.34, -61.47)
CIE-LCHlch(33.46, 69.93, 298.47°)
OKLaboklab(43.97% 0.0065 -0.1775)
OKLCHoklch(43.97% 0.178 272.1)
XYZxyz(11.3917, 7.7507, 43.0065)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3541B2 #B2A635
analogous
#357FB2 #3541B2 #6735B2
triadic
#3541B2 #B23541 #41B235
tetradic
#3541B2 #B2357F #B2A635 #35B267
square
#3541B2 #B2357F #B2A635 #35B267
split-complementary
#3541B2 #B26735 #7FB235
monochromatic
#191F54 #273083 #3541B2 #5762CD #868EDB

Accessibility & contrast

On white

8.23
#3541B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3541B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3541B2
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3541B2#FFFFFF#000000##FFFFFF
##3541B21.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3541b2;
/* rgb */ color: rgb(53, 65, 178);
/* oklch */ color: oklch(44.0% 0.178 272.1);
Tailwind
colors: {
  custom: {
    50: '#7d75ca',
    500: '#3541b2',
    950: '#000000',
  },
}
SCSS
$custom: #3541b2;
$custom-light: #7d75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3541b2",
  "rgb": {
    "r": 53,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 234.24,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43971,
    "c": 0.17758,
    "h": 272.1
  },
  "luminance": 0.07752
}

Semantic roles & 50–950 ramp

primary
#3541B2
secondary
#C5BE7E
accent
#CF4ADD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3541B2

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

Preview Lab → · Contrast checker → · Palette generator →

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