#3542AD#3542AD

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

Color values

HEX#3542AD
RGBrgb(53, 66, 173)
HSLhsl(234, 53%, 44%)
HSVhsv(234, 69%, 68%)
CMYKcmyk(69.4%, 61.8%, 0%, 32.2%)
CIE-LABlab(33.28, 30.91, -58.78)
CIE-LCHlch(33.28, 66.41, 297.74°)
OKLaboklab(43.71% 0.0059 -0.1696)
OKLCHoklch(43.71% 0.17 272)
XYZxyz(10.9567, 7.6694, 40.4300)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3542AD #ADA035
analogous
#357EAD #3542AD #6435AD
triadic
#3542AD #AD3542 #42AD35
tetradic
#3542AD #AD357E #ADA035 #35AD64
square
#3542AD #AD357E #ADA035 #35AD64
split-complementary
#3542AD #AD6435 #7EAD35
monochromatic
#181E4F #27307E #3542AD #5461CB #838DD9

Accessibility & contrast

On white

8.29
#3542AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3542AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3542AD
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3542AD#FFFFFF#000000##FFFFFF
##3542AD1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3542ad;
/* rgb */ color: rgb(53, 66, 173);
/* oklch */ color: oklch(43.7% 0.170 272.0);
Tailwind
colors: {
  custom: {
    50: '#7c76c6',
    500: '#3542ad',
    950: '#000000',
  },
}
SCSS
$custom: #3542ad;
$custom-light: #7c76c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3542ad",
  "rgb": {
    "r": 53,
    "g": 66,
    "b": 173
  },
  "hsl": {
    "h": 233.5,
    "s": 53.097,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43712,
    "c": 0.16966,
    "h": 272
  },
  "luminance": 0.0767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3542AD

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

Preview Lab → · Contrast checker → · Palette generator →

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