#3542C9#3542C9

#3542C9 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.3% C 0.206 H 271.2°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#3542C9
RGBrgb(53, 66, 201)
HSLhsl(235, 58%, 50%)
HSVhsv(235, 74%, 79%)
CMYKcmyk(73.6%, 67.2%, 0%, 21.2%)
CIE-LABlab(35.73, 40.80, -71.26)
CIE-LCHlch(35.73, 82.12, 299.79°)
OKLaboklab(46.26% 0.0042 -0.2061)
OKLCHoklch(46.26% 0.206 271.2)
XYZxyz(13.9554, 8.8689, 56.2234)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3542C9 #C9BC35
analogous
#358CC9 #3542C9 #7235C9
triadic
#3542C9 #C93542 #42C935
tetradic
#3542C9 #C9358C #C9BC35 #35C972
square
#3542C9 #C9358C #C9BC35 #35C972
split-complementary
#3542C9 #C97235 #8CC935
monochromatic
#1B2268 #283299 #3542C9 #656FD6 #959CE3

Accessibility & contrast

On white

7.57
#3542C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3542C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3542C9#FFFFFF#000000##FFFFFF
##3542C91.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCD
Deuteranopia (green-blind)
#004DC6
Tritanopia (blue-blind)
#006680
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3542c9;
/* rgb */ color: rgb(53, 66, 201);
/* oklch */ color: oklch(46.3% 0.206 271.2);
Tailwind
colors: {
  custom: {
    50: '#8277db',
    500: '#3542c9',
    950: '#000000',
  },
}
SCSS
$custom: #3542c9;
$custom-light: #8277db;
$custom-dark: #000000;
JSON
{
  "hex": "#3542c9",
  "rgb": {
    "r": 53,
    "g": 66,
    "b": 201
  },
  "hsl": {
    "h": 234.73,
    "s": 58.268,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46255,
    "c": 0.20617,
    "h": 271.2
  },
  "luminance": 0.0887
}

Semantic roles & 50–950 ramp

primary
#3542C9
secondary
#CEC98B
accent
#D446E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3542C9

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

Preview Lab → · Contrast checker → · Palette generator →

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