#3542E2#3542E2

#3542E2 is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.7% C 0.237 H 270.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#3542E2
RGBrgb(53, 66, 226)
HSLhsl(235, 75%, 55%)
HSVhsv(235, 77%, 89%)
CMYKcmyk(76.5%, 70.8%, 0%, 11.4%)
CIE-LABlab(38.10, 49.30, -81.77)
CIE-LCHlch(38.10, 95.48, 301.09°)
OKLaboklab(48.68% 0.0014 -0.2368)
OKLCHoklch(48.68% 0.237 270.3)
XYZxyz(17.1392, 10.1424, 72.9911)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3542E2 #E2D535
analogous
#3599E2 #3542E2 #7E35E2
triadic
#3542E2 #E23542 #42E235
tetradic
#3542E2 #E23599 #E2D535 #35E27E
square
#3542E2 #E23599 #E2D535 #35E27E
split-complementary
#3542E2 #E27E35 #99E235
monochromatic
#141C89 #1B28BE #3542E2 #6B74EA #A0A6F1

Accessibility & contrast

On white

6.93
#3542E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3542E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3542E2
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3542E2#FFFFFF#000000##FFFFFF
##3542E21.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E7
Deuteranopia (green-blind)
#0051DF
Tritanopia (blue-blind)
#006F8E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3542e2;
/* rgb */ color: rgb(53, 66, 226);
/* oklch */ color: oklch(48.7% 0.237 270.3);
Tailwind
colors: {
  custom: {
    50: '#8877ec',
    500: '#3542e2',
    950: '#000000',
  },
}
SCSS
$custom: #3542e2;
$custom-light: #8877ec;
$custom-dark: #000000;
JSON
{
  "hex": "#3542e2",
  "rgb": {
    "r": 53,
    "g": 66,
    "b": 226
  },
  "hsl": {
    "h": 235.491,
    "s": 74.892,
    "l": 54.706
  },
  "oklch": {
    "l": 0.48677,
    "c": 0.23677,
    "h": 270.3
  },
  "luminance": 0.10144
}

Semantic roles & 50–950 ramp

primary
#3542E2
secondary
#DED895
accent
#E336F2
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #3542E2

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

Preview Lab → · Contrast checker → · Palette generator →

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