#3542BE#3542BE

#3542BE is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.2% C 0.192 H 271.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#3542BE
RGBrgb(53, 66, 190)
HSLhsl(234, 56%, 48%)
HSVhsv(234, 72%, 75%)
CMYKcmyk(72.1%, 65.3%, 0%, 25.5%)
CIE-LABlab(34.74, 36.96, -66.46)
CIE-LCHlch(34.74, 76.04, 299.08°)
OKLaboklab(45.23% 0.0051 -0.1921)
OKLCHoklch(45.23% 0.192 271.5)
XYZxyz(12.7075, 8.3697, 49.6510)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3542BE #BEB135
analogous
#3586BE #3542BE #6D35BE
triadic
#3542BE #BE3542 #42BE35
tetradic
#3542BE #BE3586 #BEB135 #35BE6D
square
#3542BE #BE3586 #BEB135 #35BE6D
split-complementary
#3542BE #BE6D35 #86BE35
monochromatic
#1A215E #28318E #3542BE #5E69D2 #8E96DF

Accessibility & contrast

On white

7.85
#3542BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3542BE
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3542BE#FFFFFF#000000##FFFFFF
##3542BE1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C2
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#00637A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3542be;
/* rgb */ color: rgb(53, 66, 190);
/* oklch */ color: oklch(45.2% 0.192 271.5);
Tailwind
colors: {
  custom: {
    50: '#8076d3',
    500: '#3542be',
    950: '#000000',
  },
}
SCSS
$custom: #3542be;
$custom-light: #8076d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3542be",
  "rgb": {
    "r": 53,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 234.307,
    "s": 56.379,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45232,
    "c": 0.19214,
    "h": 271.5
  },
  "luminance": 0.08371
}

Semantic roles & 50–950 ramp

primary
#3542BE
secondary
#CAC385
accent
#D148E0
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3542BE

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

Preview Lab → · Contrast checker → · Palette generator →

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