#3541AB#3541AB

#3541AB is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.4% C 0.168 H 272.3°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#3541AB
RGBrgb(53, 65, 171)
HSLhsl(234, 53%, 44%)
HSVhsv(234, 69%, 67%)
CMYKcmyk(69%, 62%, 0%, 32.9%)
CIE-LABlab(32.87, 30.84, -58.26)
CIE-LCHlch(32.87, 65.92, 297.89°)
OKLaboklab(43.35% 0.0068 -0.1681)
OKLCHoklch(43.35% 0.168 272.3)
XYZxyz(10.7067, 7.4767, 39.3991)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3541AB #AB9F35
analogous
#357CAB #3541AB #6435AB
triadic
#3541AB #AB3541 #41AB35
tetradic
#3541AB #AB357C #AB9F35 #35AB64
square
#3541AB #AB357C #AB9F35 #35AB64
split-complementary
#3541AB #AB6435 #7CAB35
monochromatic
#181D4E #272F7C #3541AB #535FCA #828BD8

Accessibility & contrast

On white

8.41
#3541AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3541AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3541AB
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3541AB#FFFFFF#000000##FFFFFF
##3541AB1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3541ab;
/* rgb */ color: rgb(53, 65, 171);
/* oklch */ color: oklch(43.4% 0.168 272.3);
Tailwind
colors: {
  custom: {
    50: '#7b75c5',
    500: '#3541ab',
    950: '#000000',
  },
}
SCSS
$custom: #3541ab;
$custom-light: #7b75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3541ab",
  "rgb": {
    "r": 53,
    "g": 65,
    "b": 171
  },
  "hsl": {
    "h": 233.898,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43353,
    "c": 0.1682,
    "h": 272.3
  },
  "luminance": 0.07478
}

Semantic roles & 50–950 ramp

primary
#3541AB
secondary
#C2BA7A
accent
#CD4CDC
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3541AB

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

Preview Lab → · Contrast checker → · Palette generator →

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