#3542B3#3542B3

#3542B3 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.178 H 271.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#3542B3
RGBrgb(53, 66, 179)
HSLhsl(234, 54%, 45%)
HSVhsv(234, 70%, 70%)
CMYKcmyk(70.4%, 63.1%, 0%, 29.8%)
CIE-LABlab(33.79, 33.05, -61.52)
CIE-LCHlch(33.79, 69.84, 298.25°)
OKLaboklab(44.24% 0.0057 -0.1776)
OKLCHoklch(44.24% 0.178 271.8)
XYZxyz(11.5503, 7.9069, 43.5566)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3542B3 #B3A635
analogous
#3581B3 #3542B3 #6735B3
triadic
#3542B3 #B33542 #42B335
tetradic
#3542B3 #B33581 #B3A635 #35B367
square
#3542B3 #B33581 #B3A635 #35B367
split-complementary
#3542B3 #B36735 #81B335
monochromatic
#191F55 #273184 #3542B3 #5864CD #8790DB

Accessibility & contrast

On white

8.13
#3542B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3542B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3542B3
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3542B3#FFFFFF#000000##FFFFFF
##3542B31.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3542b3;
/* rgb */ color: rgb(53, 66, 179);
/* oklch */ color: oklch(44.2% 0.178 271.8);
Tailwind
colors: {
  custom: {
    50: '#7d76cb',
    500: '#3542b3',
    950: '#000000',
  },
}
SCSS
$custom: #3542b3;
$custom-light: #7d76cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3542b3",
  "rgb": {
    "r": 53,
    "g": 66,
    "b": 179
  },
  "hsl": {
    "h": 233.81,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44239,
    "c": 0.1777,
    "h": 271.8
  },
  "luminance": 0.07908
}

Semantic roles & 50–950 ramp

primary
#3542B3
secondary
#C5BE7F
accent
#CE4ADE
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3542B3

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

Preview Lab → · Contrast checker → · Palette generator →

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