#3541B8#3541B8

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

Color values

HEX#3541B8
RGBrgb(53, 65, 184)
HSLhsl(235, 55%, 46%)
HSVhsv(235, 71%, 72%)
CMYKcmyk(71.2%, 64.7%, 0%, 27.8%)
CIE-LABlab(33.98, 35.47, -64.17)
CIE-LCHlch(33.98, 73.32, 298.93°)
OKLaboklab(44.51% 0.0062 -0.1854)
OKLCHoklch(44.51% 0.185 271.9)
XYZxyz(12.0073, 7.9970, 46.2489)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3541B8 #B8AC35
analogous
#3583B8 #3541B8 #6B35B8
triadic
#3541B8 #B83541 #41B835
tetradic
#3541B8 #B83583 #B8AC35 #35B86B
square
#3541B8 #B83583 #B8AC35 #35B86B
split-complementary
#3541B8 #B86B35 #83B835
monochromatic
#1A1F59 #273088 #3541B8 #5B65D0 #8A92DD

Accessibility & contrast

On white

8.08
#3541B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3541B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3541B8
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3541B8#FFFFFF#000000##FFFFFF
##3541B81.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3541b8;
/* rgb */ color: rgb(53, 65, 184);
/* oklch */ color: oklch(44.5% 0.185 271.9);
Tailwind
colors: {
  custom: {
    50: '#7e75ce',
    500: '#3541b8',
    950: '#000000',
  },
}
SCSS
$custom: #3541b8;
$custom-light: #7e75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3541b8",
  "rgb": {
    "r": 53,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 234.504,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44511,
    "c": 0.18549,
    "h": 271.9
  },
  "luminance": 0.07998
}

Semantic roles & 50–950 ramp

primary
#3541B8
secondary
#C7C181
accent
#D149DF
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3541B8

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

Preview Lab → · Contrast checker → · Palette generator →

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