#3542B2#3542B2

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

Color values

HEX#3542B2
RGBrgb(53, 66, 178)
HSLhsl(234, 54%, 45%)
HSVhsv(234, 70%, 70%)
CMYKcmyk(70.2%, 62.9%, 0%, 30.2%)
CIE-LABlab(33.70, 32.70, -61.07)
CIE-LCHlch(33.70, 69.27, 298.17°)
OKLaboklab(44.15% 0.0058 -0.1763)
OKLCHoklch(44.15% 0.176 271.9)
XYZxyz(11.4496, 7.8666, 43.0258)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3542B2 #B2A535
analogous
#3580B2 #3542B2 #6635B2
triadic
#3542B2 #B23542 #42B235
tetradic
#3542B2 #B23580 #B2A535 #35B266
square
#3542B2 #B23580 #B2A535 #35B266
split-complementary
#3542B2 #B26635 #80B235
monochromatic
#191F54 #273183 #3542B2 #5763CD #868FDB

Accessibility & contrast

On white

8.16
#3542B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3542B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3542B2
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3542B2#FFFFFF#000000##FFFFFF
##3542B21.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)
#0055B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3542b2;
/* rgb */ color: rgb(53, 66, 178);
/* oklch */ color: oklch(44.2% 0.176 271.9);
Tailwind
colors: {
  custom: {
    50: '#7d76ca',
    500: '#3542b2',
    950: '#000000',
  },
}
SCSS
$custom: #3542b2;
$custom-light: #7d76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3542b2",
  "rgb": {
    "r": 53,
    "g": 66,
    "b": 178
  },
  "hsl": {
    "h": 233.76,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44151,
    "c": 0.17637,
    "h": 271.9
  },
  "luminance": 0.07868
}

Semantic roles & 50–950 ramp

primary
#3542B2
secondary
#C5BD7E
accent
#CE4ADD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3542B2

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

Preview Lab → · Contrast checker → · Palette generator →

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