#3541AA#3541AA

#3541AA is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.3% C 0.167 H 272.3°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#3541AA
RGBrgb(53, 65, 170)
HSLhsl(234, 52%, 44%)
HSVhsv(234, 69%, 67%)
CMYKcmyk(68.8%, 61.8%, 0%, 33.3%)
CIE-LABlab(32.79, 30.48, -57.80)
CIE-LCHlch(32.79, 65.34, 297.80°)
OKLaboklab(43.27% 0.0068 -0.1667)
OKLCHoklch(43.27% 0.167 272.3)
XYZxyz(10.6118, 7.4388, 38.8990)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3541AA #AA9E35
analogous
#357BAA #3541AA #6335AA
triadic
#3541AA #AA3541 #41AA35
tetradic
#3541AA #AA357B #AA9E35 #35AA63
square
#3541AA #AA357B #AA9E35 #35AA63
split-complementary
#3541AA #AA6335 #7BAA35
monochromatic
#181D4D #262F7B #3541AA #535FC9 #828AD8

Accessibility & contrast

On white

8.44
#3541AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3541AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3541AA#FFFFFF#000000##FFFFFF
##3541AA1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3541aa;
/* rgb */ color: rgb(53, 65, 170);
/* oklch */ color: oklch(43.3% 0.167 272.3);
Tailwind
colors: {
  custom: {
    50: '#7b75c4',
    500: '#3541aa',
    950: '#000000',
  },
}
SCSS
$custom: #3541aa;
$custom-light: #7b75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3541aa",
  "rgb": {
    "r": 53,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 233.846,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43266,
    "c": 0.16684,
    "h": 272.3
  },
  "luminance": 0.0744
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3541AA

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

Preview Lab → · Contrast checker → · Palette generator →

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