#3541A5#3541A5

#3541A5 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.8% C 0.160 H 272.5°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#3541A5
RGBrgb(53, 65, 165)
HSLhsl(234, 51%, 43%)
HSVhsv(234, 68%, 65%)
CMYKcmyk(67.9%, 60.6%, 0%, 35.3%)
CIE-LABlab(32.38, 28.68, -55.47)
CIE-LCHlch(32.38, 62.44, 297.34°)
OKLaboklab(42.84% 0.0069 -0.1598)
OKLCHoklch(42.84% 0.16 272.5)
XYZxyz(10.1477, 7.2532, 36.4552)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3541A5 #A59935
analogous
#3579A5 #3541A5 #6135A5
triadic
#3541A5 #A53541 #41A535
tetradic
#3541A5 #A53579 #A59935 #35A561
square
#3541A5 #A53579 #A59935 #35A561
split-complementary
#3541A5 #A56135 #79A535
monochromatic
#171D48 #262F77 #3541A5 #505DC7 #7F88D6

Accessibility & contrast

On white

8.57
#3541A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3541A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3541A5
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3541A5#FFFFFF#000000##FFFFFF
##3541A51.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A8
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3541a5;
/* rgb */ color: rgb(53, 65, 165);
/* oklch */ color: oklch(42.8% 0.160 272.5);
Tailwind
colors: {
  custom: {
    50: '#7a75c0',
    500: '#3541a5',
    950: '#000000',
  },
}
SCSS
$custom: #3541a5;
$custom-light: #7a75c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3541a5",
  "rgb": {
    "r": 53,
    "g": 65,
    "b": 165
  },
  "hsl": {
    "h": 233.571,
    "s": 51.376,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42836,
    "c": 0.16,
    "h": 272.5
  },
  "luminance": 0.07254
}

Semantic roles & 50–950 ramp

primary
#3541A5
secondary
#BFB777
accent
#CC4DDB
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3541A5

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

Preview Lab → · Contrast checker → · Palette generator →

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