#3542D2#3542D2

#3542D2 is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.1% C 0.217 H 270.9°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#3542D2
RGBrgb(53, 66, 210)
HSLhsl(235, 64%, 52%)
HSVhsv(235, 75%, 82%)
CMYKcmyk(74.8%, 68.6%, 0%, 17.6%)
CIE-LABlab(36.56, 43.90, -75.11)
CIE-LCHlch(36.56, 87.00, 300.31°)
OKLaboklab(47.11% 0.0033 -0.2174)
OKLCHoklch(47.11% 0.217 270.9)
XYZxyz(15.0453, 9.3048, 61.9634)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3542D2 #D2C535
analogous
#3591D2 #3542D2 #7735D2
triadic
#3542D2 #D23542 #42D235
tetradic
#3542D2 #D23591 #D2C535 #35D277
square
#3542D2 #D23591 #D2C535 #35D277
split-complementary
#3542D2 #D27735 #91D235
monochromatic
#1A2173 #252FA5 #3542D2 #6771DD #99A0E8

Accessibility & contrast

On white

7.34
#3542D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3542D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3542D2
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3542D2#FFFFFF#000000##FFFFFF
##3542D21.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED6
Deuteranopia (green-blind)
#004ECF
Tritanopia (blue-blind)
#006A85
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3542d2;
/* rgb */ color: rgb(53, 66, 210);
/* oklch */ color: oklch(47.1% 0.217 270.9);
Tailwind
colors: {
  custom: {
    50: '#8477e1',
    500: '#3542d2',
    950: '#000000',
  },
}
SCSS
$custom: #3542d2;
$custom-light: #8477e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3542d2",
  "rgb": {
    "r": 53,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 235.032,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47113,
    "c": 0.21738,
    "h": 270.9
  },
  "luminance": 0.09306
}

Semantic roles & 50–950 ramp

primary
#3542D2
secondary
#D4CE8F
accent
#D941E7
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0915
muted
#7E7B84

Preview Lab

Preview with #3542D2

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

Preview Lab → · Contrast checker → · Palette generator →

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