#3541A2#3541A2

#3541A2 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.156 H 272.6°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#3541A2
RGBrgb(53, 65, 162)
HSLhsl(233, 51%, 42%)
HSVhsv(233, 67%, 64%)
CMYKcmyk(67.3%, 59.9%, 0%, 36.5%)
CIE-LABlab(32.14, 27.60, -54.06)
CIE-LCHlch(32.14, 60.69, 297.05°)
OKLaboklab(42.58% 0.0069 -0.1557)
OKLCHoklch(42.58% 0.156 272.6)
XYZxyz(9.8779, 7.1452, 35.0340)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3541A2 #A29635
analogous
#3578A2 #3541A2 #5F35A2
triadic
#3541A2 #A23541 #41A235
tetradic
#3541A2 #A23578 #A29635 #35A25F
square
#3541A2 #A23578 #A29635 #35A25F
split-complementary
#3541A2 #A25F35 #78A235
monochromatic
#171C46 #262E74 #3541A2 #4F5CC5 #7D87D4

Accessibility & contrast

On white

8.64
#3541A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3541A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3541A2
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3541A2#FFFFFF#000000##FFFFFF
##3541A21.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3541a2;
/* rgb */ color: rgb(53, 65, 162);
/* oklch */ color: oklch(42.6% 0.156 272.6);
Tailwind
colors: {
  custom: {
    50: '#7a75be',
    500: '#3541a2',
    950: '#000000',
  },
}
SCSS
$custom: #3541a2;
$custom-light: #7a75be;
$custom-dark: #000000;
JSON
{
  "hex": "#3541a2",
  "rgb": {
    "r": 53,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 233.394,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42582,
    "c": 0.15585,
    "h": 272.6
  },
  "luminance": 0.07146
}

Semantic roles & 50–950 ramp

primary
#3541A2
secondary
#BDB675
accent
#CB4EDA
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3541A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3541A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva