#3542B7#3542B7

#3542B7 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.6% C 0.183 H 271.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#3542B7
RGBrgb(53, 66, 183)
HSLhsl(234, 55%, 46%)
HSVhsv(234, 71%, 72%)
CMYKcmyk(71%, 63.9%, 0%, 28.2%)
CIE-LABlab(34.13, 34.48, -63.33)
CIE-LCHlch(34.13, 72.11, 298.57°)
OKLaboklab(44.6% 0.0055 -0.1829)
OKLCHoklch(44.6% 0.183 271.7)
XYZxyz(11.9608, 8.0710, 45.7181)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3542B7 #B7AA35
analogous
#3583B7 #3542B7 #6935B7
triadic
#3542B7 #B73542 #42B735
tetradic
#3542B7 #B73583 #B7AA35 #35B769
square
#3542B7 #B73583 #B7AA35 #35B769
split-complementary
#3542B7 #B76935 #83B735
monochromatic
#1A2058 #273188 #3542B7 #5A66CF #8992DD

Accessibility & contrast

On white

8.03
#3542B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3542B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3542B7
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3542B7#FFFFFF#000000##FFFFFF
##3542B71.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#004AB5
Tritanopia (blue-blind)
#006076
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3542b7;
/* rgb */ color: rgb(53, 66, 183);
/* oklch */ color: oklch(44.6% 0.183 271.7);
Tailwind
colors: {
  custom: {
    50: '#7e76ce',
    500: '#3542b7',
    950: '#000000',
  },
}
SCSS
$custom: #3542b7;
$custom-light: #7e76ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3542b7",
  "rgb": {
    "r": 53,
    "g": 66,
    "b": 183
  },
  "hsl": {
    "h": 234,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44597,
    "c": 0.183,
    "h": 271.7
  },
  "luminance": 0.08072
}

Semantic roles & 50–950 ramp

primary
#3542B7
secondary
#C7C081
accent
#D049DE
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3542B7

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

Preview Lab → · Contrast checker → · Palette generator →

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