#3542C7#3542C7

#3542C7 is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.1% C 0.204 H 271.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#3542C7
RGBrgb(53, 66, 199)
HSLhsl(235, 58%, 49%)
HSVhsv(235, 73%, 78%)
CMYKcmyk(73.4%, 66.8%, 0%, 22%)
CIE-LABlab(35.55, 40.11, -70.40)
CIE-LCHlch(35.55, 81.02, 299.67°)
OKLaboklab(46.07% 0.0044 -0.2036)
OKLCHoklch(46.07% 0.204 271.2)
XYZxyz(13.7217, 8.7754, 54.9924)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3542C7 #C7BA35
analogous
#358BC7 #3542C7 #7135C7
triadic
#3542C7 #C73542 #42C735
tetradic
#3542C7 #C7358B #C7BA35 #35C771
square
#3542C7 #C7358B #C7BA35 #35C771
split-complementary
#3542C7 #C77135 #8BC735
monochromatic
#1B2266 #283297 #3542C7 #646ED6 #949BE2

Accessibility & contrast

On white

7.62
#3542C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3542C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3542C7#FFFFFF#000000##FFFFFF
##3542C71.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCB
Deuteranopia (green-blind)
#004DC5
Tritanopia (blue-blind)
#00667F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3542c7;
/* rgb */ color: rgb(53, 66, 199);
/* oklch */ color: oklch(46.1% 0.204 271.2);
Tailwind
colors: {
  custom: {
    50: '#8277d9',
    500: '#3542c7',
    950: '#000000',
  },
}
SCSS
$custom: #3542c7;
$custom-light: #8277d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3542c7",
  "rgb": {
    "r": 53,
    "g": 66,
    "b": 199
  },
  "hsl": {
    "h": 234.658,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46067,
    "c": 0.20365,
    "h": 271.2
  },
  "luminance": 0.08777
}

Semantic roles & 50–950 ramp

primary
#3542C7
secondary
#CEC88A
accent
#D347E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3542C7

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

Preview Lab → · Contrast checker → · Palette generator →

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