#3542AE#3542AE

#3542AE is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.8% C 0.171 H 272.0°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#3542AE
RGBrgb(53, 66, 174)
HSLhsl(234, 53%, 45%)
HSVhsv(234, 70%, 68%)
CMYKcmyk(69.5%, 62.1%, 0%, 31.8%)
CIE-LABlab(33.37, 31.27, -59.24)
CIE-LCHlch(33.37, 66.98, 297.83°)
OKLaboklab(43.8% 0.0059 -0.1709)
OKLCHoklch(43.8% 0.171 272)
XYZxyz(11.0538, 7.7082, 40.9415)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3542AE #AEA135
analogous
#357EAE #3542AE #6535AE
triadic
#3542AE #AE3542 #42AE35
tetradic
#3542AE #AE357E #AEA135 #35AE65
square
#3542AE #AE357E #AEA135 #35AE65
split-complementary
#3542AE #AE6535 #7EAE35
monochromatic
#181E50 #27307F #3542AE #5562CB #848DDA

Accessibility & contrast

On white

8.26
#3542AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3542AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3542AE
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3542AE#FFFFFF#000000##FFFFFF
##3542AE1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3542ae;
/* rgb */ color: rgb(53, 66, 174);
/* oklch */ color: oklch(43.8% 0.171 272.0);
Tailwind
colors: {
  custom: {
    50: '#7c76c7',
    500: '#3542ae',
    950: '#000000',
  },
}
SCSS
$custom: #3542ae;
$custom-light: #7c76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3542ae",
  "rgb": {
    "r": 53,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 233.554,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43799,
    "c": 0.17101,
    "h": 272
  },
  "luminance": 0.07709
}

Semantic roles & 50–950 ramp

primary
#3542AE
secondary
#C3BB7C
accent
#CD4BDD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3542AE

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

Preview Lab → · Contrast checker → · Palette generator →

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