#3542C0#3542C0

#3542C0 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.4% C 0.195 H 271.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#3542C0
RGBrgb(53, 66, 192)
HSLhsl(234, 57%, 48%)
HSVhsv(234, 72%, 75%)
CMYKcmyk(72.4%, 65.6%, 0%, 24.7%)
CIE-LABlab(34.92, 37.66, -67.34)
CIE-LCHlch(34.92, 77.15, 299.22°)
OKLaboklab(45.42% 0.0049 -0.1946)
OKLCHoklch(45.42% 0.195 271.5)
XYZxyz(12.9276, 8.4578, 50.8102)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3542C0 #C0B335
analogous
#3588C0 #3542C0 #6D35C0
triadic
#3542C0 #C03542 #42C035
tetradic
#3542C0 #C03588 #C0B335 #35C06D
square
#3542C0 #C03588 #C0B335 #35C06D
split-complementary
#3542C0 #C06D35 #88C035
monochromatic
#1B2160 #283290 #3542C0 #5F6AD3 #8F97E0

Accessibility & contrast

On white

7.80
#3542C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3542C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3542C0
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3542C0#FFFFFF#000000##FFFFFF
##3542C01.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#004CBE
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3542c0;
/* rgb */ color: rgb(53, 66, 192);
/* oklch */ color: oklch(45.4% 0.195 271.5);
Tailwind
colors: {
  custom: {
    50: '#8076d4',
    500: '#3542c0',
    950: '#000000',
  },
}
SCSS
$custom: #3542c0;
$custom-light: #8076d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3542c0",
  "rgb": {
    "r": 53,
    "g": 66,
    "b": 192
  },
  "hsl": {
    "h": 234.388,
    "s": 56.735,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45416,
    "c": 0.19471,
    "h": 271.5
  },
  "luminance": 0.08459
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3542C0

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

Preview Lab → · Contrast checker → · Palette generator →

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