#3541A3#3541A3

#3541A3 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.7% C 0.157 H 272.5°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#3541A3
RGBrgb(53, 65, 163)
HSLhsl(233, 51%, 42%)
HSVhsv(233, 67%, 64%)
CMYKcmyk(67.5%, 60.1%, 0%, 36.1%)
CIE-LABlab(32.22, 27.96, -54.53)
CIE-LCHlch(32.22, 61.28, 297.15°)
OKLaboklab(42.67% 0.0069 -0.1571)
OKLCHoklch(42.67% 0.157 272.5)
XYZxyz(9.9671, 7.1809, 35.5040)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3541A3 #A39735
analogous
#3578A3 #3541A3 #6035A3
triadic
#3541A3 #A33541 #41A335
tetradic
#3541A3 #A33578 #A39735 #35A360
square
#3541A3 #A33578 #A39735 #35A360
split-complementary
#3541A3 #A36035 #78A335
monochromatic
#171C47 #262F75 #3541A3 #4F5CC6 #7E87D5

Accessibility & contrast

On white

8.62
#3541A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3541A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3541A3
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3541A3#FFFFFF#000000##FFFFFF
##3541A31.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3541a3;
/* rgb */ color: rgb(53, 65, 163);
/* oklch */ color: oklch(42.7% 0.157 272.5);
Tailwind
colors: {
  custom: {
    50: '#7a75bf',
    500: '#3541a3',
    950: '#000000',
  },
}
SCSS
$custom: #3541a3;
$custom-light: #7a75bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3541a3",
  "rgb": {
    "r": 53,
    "g": 65,
    "b": 163
  },
  "hsl": {
    "h": 233.455,
    "s": 50.926,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42666,
    "c": 0.15724,
    "h": 272.5
  },
  "luminance": 0.07182
}

Semantic roles & 50–950 ramp

primary
#3541A3
secondary
#BEB676
accent
#CB4DDA
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3541A3

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

Preview Lab → · Contrast checker → · Palette generator →

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