#3542AC#3542AC

#3542AC is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.6% C 0.168 H 272.0°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#3542AC
RGBrgb(53, 66, 172)
HSLhsl(233, 53%, 44%)
HSVhsv(233, 69%, 67%)
CMYKcmyk(69.2%, 61.6%, 0%, 32.5%)
CIE-LABlab(33.20, 30.55, -58.32)
CIE-LCHlch(33.20, 65.83, 297.65°)
OKLaboklab(43.63% 0.006 -0.1682)
OKLCHoklch(43.63% 0.168 272)
XYZxyz(10.8603, 7.6308, 39.9223)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3542AC #AC9F35
analogous
#357EAC #3542AC #6435AC
triadic
#3542AC #AC3542 #42AC35
tetradic
#3542AC #AC357E #AC9F35 #35AC64
square
#3542AC #AC357E #AC9F35 #35AC64
split-complementary
#3542AC #AC6435 #7EAC35
monochromatic
#181E4E #27307D #3542AC #5461CA #838CD9

Accessibility & contrast

On white

8.31
#3542AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3542AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3542AC
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3542AC#FFFFFF#000000##FFFFFF
##3542AC1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3542ac;
/* rgb */ color: rgb(53, 66, 172);
/* oklch */ color: oklch(43.6% 0.168 272.0);
Tailwind
colors: {
  custom: {
    50: '#7c76c6',
    500: '#3542ac',
    950: '#000000',
  },
}
SCSS
$custom: #3542ac;
$custom-light: #7c76c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3542ac",
  "rgb": {
    "r": 53,
    "g": 66,
    "b": 172
  },
  "hsl": {
    "h": 233.445,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43625,
    "c": 0.16831,
    "h": 272
  },
  "luminance": 0.07632
}

Semantic roles & 50–950 ramp

primary
#3542AC
secondary
#C2BA7B
accent
#CC4CDC
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3542AC

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

Preview Lab → · Contrast checker → · Palette generator →

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