#3542C2#3542C2

#3542C2 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.6% C 0.197 H 271.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#3542C2
RGBrgb(53, 66, 194)
HSLhsl(234, 57%, 48%)
HSVhsv(234, 73%, 76%)
CMYKcmyk(72.7%, 66%, 0%, 23.9%)
CIE-LABlab(35.10, 38.36, -68.22)
CIE-LCHlch(35.10, 78.26, 299.35°)
OKLaboklab(45.6% 0.0048 -0.1972)
OKLCHoklch(45.6% 0.197 271.4)
XYZxyz(13.1507, 8.5470, 51.9851)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3542C2 #C2B535
analogous
#3588C2 #3542C2 #6E35C2
triadic
#3542C2 #C23542 #42C235
tetradic
#3542C2 #C23588 #C2B535 #35C26E
square
#3542C2 #C23588 #C2B535 #35C26E
split-complementary
#3542C2 #C26E35 #88C235
monochromatic
#1B2162 #283292 #3542C2 #606BD4 #9198E1

Accessibility & contrast

On white

7.75
#3542C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3542C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3542C2#FFFFFF#000000##FFFFFF
##3542C21.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#004CC0
Tritanopia (blue-blind)
#00647C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3542c2;
/* rgb */ color: rgb(53, 66, 194);
/* oklch */ color: oklch(45.6% 0.197 271.4);
Tailwind
colors: {
  custom: {
    50: '#8176d6',
    500: '#3542c2',
    950: '#000000',
  },
}
SCSS
$custom: #3542c2;
$custom-light: #8176d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3542c2",
  "rgb": {
    "r": 53,
    "g": 66,
    "b": 194
  },
  "hsl": {
    "h": 234.468,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45601,
    "c": 0.19728,
    "h": 271.4
  },
  "luminance": 0.08548
}

Semantic roles & 50–950 ramp

primary
#3542C2
secondary
#CCC587
accent
#D247E0
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3542C2

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

Preview Lab → · Contrast checker → · Palette generator →

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