#3542B5#3542B5

#3542B5 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.4% C 0.180 H 271.8°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#3542B5
RGBrgb(53, 66, 181)
HSLhsl(234, 55%, 46%)
HSVhsv(234, 71%, 71%)
CMYKcmyk(70.7%, 63.5%, 0%, 29%)
CIE-LABlab(33.96, 33.77, -62.43)
CIE-LCHlch(33.96, 70.98, 298.41°)
OKLaboklab(44.42% 0.0056 -0.1803)
OKLCHoklch(44.42% 0.18 271.8)
XYZxyz(11.7541, 7.9884, 44.6296)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3542B5 #B5A835
analogous
#3582B5 #3542B5 #6835B5
triadic
#3542B5 #B53542 #42B535
tetradic
#3542B5 #B53582 #B5A835 #35B568
square
#3542B5 #B53582 #B5A835 #35B568
split-complementary
#3542B5 #B56835 #82B535
monochromatic
#191F56 #273186 #3542B5 #5965CE #8891DC

Accessibility & contrast

On white

8.08
#3542B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3542B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3542B5
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3542B5#FFFFFF#000000##FFFFFF
##3542B51.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)
#0056B9
Deuteranopia (green-blind)
#004AB3
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3542b5;
/* rgb */ color: rgb(53, 66, 181);
/* oklch */ color: oklch(44.4% 0.180 271.8);
Tailwind
colors: {
  custom: {
    50: '#7e76cc',
    500: '#3542b5',
    950: '#000000',
  },
}
SCSS
$custom: #3542b5;
$custom-light: #7e76cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3542b5",
  "rgb": {
    "r": 53,
    "g": 66,
    "b": 181
  },
  "hsl": {
    "h": 233.906,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44418,
    "c": 0.18036,
    "h": 271.8
  },
  "luminance": 0.0799
}

Semantic roles & 50–950 ramp

primary
#3542B5
secondary
#C6BF80
accent
#CF4ADE
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3542B5

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

Preview Lab → · Contrast checker → · Palette generator →

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