#3542AA#3542AA

#3542AA is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.5% C 0.166 H 272.1°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#3542AA
RGBrgb(53, 66, 170)
HSLhsl(233, 52%, 44%)
HSVhsv(233, 69%, 67%)
CMYKcmyk(68.8%, 61.2%, 0%, 33.3%)
CIE-LABlab(33.04, 29.83, -57.39)
CIE-LCHlch(33.04, 64.68, 297.46°)
OKLaboklab(43.45% 0.006 -0.1655)
OKLCHoklch(43.45% 0.166 272.1)
XYZxyz(10.6697, 7.5546, 38.9183)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3542AA #AA9D35
analogous
#357CAA #3542AA #6235AA
triadic
#3542AA #AA3542 #42AA35
tetradic
#3542AA #AA357C #AA9D35 #35AA62
square
#3542AA #AA357C #AA9D35 #35AA62
split-complementary
#3542AA #AA6235 #7CAA35
monochromatic
#181E4D #26307B #3542AA #5360C9 #828BD8

Accessibility & contrast

On white

8.36
#3542AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3542AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3542AA#FFFFFF#000000##FFFFFF
##3542AA1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3542aa;
/* rgb */ color: rgb(53, 66, 170);
/* oklch */ color: oklch(43.5% 0.166 272.1);
Tailwind
colors: {
  custom: {
    50: '#7b76c4',
    500: '#3542aa',
    950: '#000000',
  },
}
SCSS
$custom: #3542aa;
$custom-light: #7b76c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3542aa",
  "rgb": {
    "r": 53,
    "g": 66,
    "b": 170
  },
  "hsl": {
    "h": 233.333,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43453,
    "c": 0.16559,
    "h": 272.1
  },
  "luminance": 0.07556
}

Semantic roles & 50–950 ramp

primary
#3542AA
secondary
#C1B97A
accent
#CC4CDC
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3542AA

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

Preview Lab → · Contrast checker → · Palette generator →

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