#3542BA#3542BA

#3542BA is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.9% C 0.187 H 271.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#3542BA
RGBrgb(53, 66, 186)
HSLhsl(234, 56%, 47%)
HSVhsv(234, 72%, 73%)
CMYKcmyk(71.5%, 64.5%, 0%, 27.1%)
CIE-LABlab(34.39, 35.54, -64.68)
CIE-LCHlch(34.39, 73.80, 298.79°)
OKLaboklab(44.87% 0.0053 -0.1869)
OKLCHoklch(44.87% 0.187 271.6)
XYZxyz(12.2763, 8.1973, 47.3801)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3542BA #BAAD35
analogous
#3585BA #3542BA #6A35BA
triadic
#3542BA #BA3542 #42BA35
tetradic
#3542BA #BA3585 #BAAD35 #35BA6A
square
#3542BA #BA3585 #BAAD35 #35BA6A
split-complementary
#3542BA #BA6A35 #85BA35
monochromatic
#1A205B #27318A #3542BA #5C67D0 #8B93DE

Accessibility & contrast

On white

7.96
#3542BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3542BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3542BA#FFFFFF#000000##FFFFFF
##3542BA1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#006178
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3542ba;
/* rgb */ color: rgb(53, 66, 186);
/* oklch */ color: oklch(44.9% 0.187 271.6);
Tailwind
colors: {
  custom: {
    50: '#7f76d0',
    500: '#3542ba',
    950: '#000000',
  },
}
SCSS
$custom: #3542ba;
$custom-light: #7f76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3542ba",
  "rgb": {
    "r": 53,
    "g": 66,
    "b": 186
  },
  "hsl": {
    "h": 234.135,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44867,
    "c": 0.18694,
    "h": 271.6
  },
  "luminance": 0.08198
}

Semantic roles & 50–950 ramp

primary
#3542BA
secondary
#C8C182
accent
#D049DF
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3542BA

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

Preview Lab → · Contrast checker → · Palette generator →

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