#3542BC#3542BC

#3542BC is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.0% C 0.190 H 271.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#3542BC
RGBrgb(53, 66, 188)
HSLhsl(234, 56%, 47%)
HSVhsv(234, 72%, 74%)
CMYKcmyk(71.8%, 64.9%, 0%, 26.3%)
CIE-LABlab(34.57, 36.25, -65.57)
CIE-LCHlch(34.57, 74.92, 298.94°)
OKLaboklab(45.05% 0.0052 -0.1895)
OKLCHoklch(45.05% 0.19 271.6)
XYZxyz(12.4904, 8.2829, 48.5077)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3542BC #BCAF35
analogous
#3586BC #3542BC #6B35BC
triadic
#3542BC #BC3542 #42BC35
tetradic
#3542BC #BC3586 #BCAF35 #35BC6B
square
#3542BC #BC3586 #BCAF35 #35BC6B
split-complementary
#3542BC #BC6B35 #86BC35
monochromatic
#1A205D #28318C #3542BC #5D68D1 #8D95DF

Accessibility & contrast

On white

7.90
#3542BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3542BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3542BC
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3542BC#FFFFFF#000000##FFFFFF
##3542BC1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3542bc;
/* rgb */ color: rgb(53, 66, 188);
/* oklch */ color: oklch(45.0% 0.190 271.6);
Tailwind
colors: {
  custom: {
    50: '#7f76d1',
    500: '#3542bc',
    950: '#000000',
  },
}
SCSS
$custom: #3542bc;
$custom-light: #7f76d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3542bc",
  "rgb": {
    "r": 53,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 234.222,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45049,
    "c": 0.18954,
    "h": 271.6
  },
  "luminance": 0.08284
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3542BC

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

Preview Lab → · Contrast checker → · Palette generator →

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