#3542C1#3542C1

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

Color values

HEX#3542C1
RGBrgb(53, 66, 193)
HSLhsl(234, 57%, 48%)
HSVhsv(234, 73%, 76%)
CMYKcmyk(72.5%, 65.8%, 0%, 24.3%)
CIE-LABlab(35.01, 38.01, -67.78)
CIE-LCHlch(35.01, 77.71, 299.28°)
OKLaboklab(45.51% 0.0049 -0.1959)
OKLCHoklch(45.51% 0.196 271.4)
XYZxyz(13.0388, 8.5022, 51.3957)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3542C1 #C1B435
analogous
#3588C1 #3542C1 #6E35C1
triadic
#3542C1 #C13542 #42C135
tetradic
#3542C1 #C13588 #C1B435 #35C16E
square
#3542C1 #C13588 #C1B435 #35C16E
split-complementary
#3542C1 #C16E35 #88C135
monochromatic
#1B2161 #283291 #3542C1 #606BD3 #9097E0

Accessibility & contrast

On white

7.78
#3542C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3542C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3542C1#FFFFFF#000000##FFFFFF
##3542C11.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C5
Deuteranopia (green-blind)
#004CBF
Tritanopia (blue-blind)
#00647C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3542c1;
/* rgb */ color: rgb(53, 66, 193);
/* oklch */ color: oklch(45.5% 0.196 271.4);
Tailwind
colors: {
  custom: {
    50: '#8076d5',
    500: '#3542c1',
    950: '#000000',
  },
}
SCSS
$custom: #3542c1;
$custom-light: #8076d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3542c1",
  "rgb": {
    "r": 53,
    "g": 66,
    "b": 193
  },
  "hsl": {
    "h": 234.429,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45508,
    "c": 0.196,
    "h": 271.4
  },
  "luminance": 0.08504
}

Semantic roles & 50–950 ramp

primary
#3542C1
secondary
#CBC587
accent
#D248E0
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3542C1

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

Preview Lab → · Contrast checker → · Palette generator →

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