#3541AC#3541AC

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

Color values

HEX#3541AC
RGBrgb(53, 65, 172)
HSLhsl(234, 53%, 44%)
HSVhsv(234, 69%, 67%)
CMYKcmyk(69.2%, 62.2%, 0%, 32.5%)
CIE-LABlab(32.95, 31.20, -58.72)
CIE-LCHlch(32.95, 66.50, 297.98°)
OKLaboklab(43.44% 0.0067 -0.1694)
OKLCHoklch(43.44% 0.17 272.3)
XYZxyz(10.8024, 7.5150, 39.9030)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3541AC #ACA035
analogous
#357DAC #3541AC #6535AC
triadic
#3541AC #AC3541 #41AC35
tetradic
#3541AC #AC357D #ACA035 #35AC65
square
#3541AC #AC357D #ACA035 #35AC65
split-complementary
#3541AC #AC6535 #7DAC35
monochromatic
#181E4E #272F7D #3541AC #5460CA #838BD9

Accessibility & contrast

On white

8.39
#3541AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3541AC#FFFFFF#000000##FFFFFF
##3541AC1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3541ac;
/* rgb */ color: rgb(53, 65, 172);
/* oklch */ color: oklch(43.4% 0.170 272.3);
Tailwind
colors: {
  custom: {
    50: '#7c75c6',
    500: '#3541ac',
    950: '#000000',
  },
}
SCSS
$custom: #3541ac;
$custom-light: #7c75c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3541ac",
  "rgb": {
    "r": 53,
    "g": 65,
    "b": 172
  },
  "hsl": {
    "h": 233.95,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43441,
    "c": 0.16954,
    "h": 272.3
  },
  "luminance": 0.07516
}

Semantic roles & 50–950 ramp

primary
#3541AC
secondary
#C2BB7B
accent
#CE4CDC
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3541AC

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

Preview Lab → · Contrast checker → · Palette generator →

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