#3541AF#3541AF

#3541AF is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.174 H 272.2°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#3541AF
RGBrgb(53, 65, 175)
HSLhsl(234, 54%, 45%)
HSVhsv(234, 70%, 69%)
CMYKcmyk(69.7%, 62.9%, 0%, 31.4%)
CIE-LABlab(33.20, 32.27, -60.10)
CIE-LCHlch(33.20, 68.22, 298.23°)
OKLaboklab(43.7% 0.0066 -0.1734)
OKLCHoklch(43.7% 0.174 272.2)
XYZxyz(11.0938, 7.6316, 41.4375)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3541AF #AFA335
analogous
#357EAF #3541AF #6635AF
triadic
#3541AF #AF3541 #41AF35
tetradic
#3541AF #AF357E #AFA335 #35AF66
square
#3541AF #AF357E #AFA335 #35AF66
split-complementary
#3541AF #AF6635 #7EAF35
monochromatic
#191E51 #273080 #3541AF #5661CC #858DDA

Accessibility & contrast

On white

8.31
#3541AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3541AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3541AF#FFFFFF#000000##FFFFFF
##3541AF1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3541af;
/* rgb */ color: rgb(53, 65, 175);
/* oklch */ color: oklch(43.7% 0.174 272.2);
Tailwind
colors: {
  custom: {
    50: '#7c75c8',
    500: '#3541af',
    950: '#000000',
  },
}
SCSS
$custom: #3541af;
$custom-light: #7c75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3541af",
  "rgb": {
    "r": 53,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 234.098,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43704,
    "c": 0.17358,
    "h": 272.2
  },
  "luminance": 0.07633
}

Semantic roles & 50–950 ramp

primary
#3541AF
secondary
#C4BD7C
accent
#CF4BDD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3541AF

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

Preview Lab → · Contrast checker → · Palette generator →

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