#3542BD#3542BD

#3542BD is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.1% C 0.191 H 271.5°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#3542BD
RGBrgb(53, 66, 189)
HSLhsl(234, 56%, 47%)
HSVhsv(234, 72%, 74%)
CMYKcmyk(72%, 65.1%, 0%, 25.9%)
CIE-LABlab(34.65, 36.60, -66.01)
CIE-LCHlch(34.65, 75.48, 299.01°)
OKLaboklab(45.14% 0.0051 -0.1908)
OKLCHoklch(45.14% 0.191 271.5)
XYZxyz(12.5986, 8.3262, 49.0774)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3542BD #BDB035
analogous
#3586BD #3542BD #6C35BD
triadic
#3542BD #BD3542 #42BD35
tetradic
#3542BD #BD3586 #BDB035 #35BD6C
square
#3542BD #BD3586 #BDB035 #35BD6C
split-complementary
#3542BD #BD6C35 #86BD35
monochromatic
#1A215D #28318D #3542BD #5D69D2 #8D95DF

Accessibility & contrast

On white

7.88
#3542BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3542BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3542BD
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3542BD#FFFFFF#000000##FFFFFF
##3542BD1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#004BBB
Tritanopia (blue-blind)
#006279
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3542bd;
/* rgb */ color: rgb(53, 66, 189);
/* oklch */ color: oklch(45.1% 0.191 271.5);
Tailwind
colors: {
  custom: {
    50: '#7f76d2',
    500: '#3542bd',
    950: '#000000',
  },
}
SCSS
$custom: #3542bd;
$custom-light: #7f76d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3542bd",
  "rgb": {
    "r": 53,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 234.265,
    "s": 56.198,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45141,
    "c": 0.19084,
    "h": 271.5
  },
  "luminance": 0.08327
}

Semantic roles & 50–950 ramp

primary
#3542BD
secondary
#CAC384
accent
#D148DF
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3542BD

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

Preview Lab → · Contrast checker → · Palette generator →

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