#3545A1#3545A1

#3545A1 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.149 H 271.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#3545A1
RGBrgb(53, 69, 161)
HSLhsl(231, 50%, 42%)
HSVhsv(231, 67%, 63%)
CMYKcmyk(67.1%, 57.1%, 0%, 36.9%)
CIE-LABlab(33.10, 24.60, -51.88)
CIE-LCHlch(33.10, 57.42, 295.37°)
OKLaboklab(43.28% 0.0034 -0.1493)
OKLCHoklch(43.28% 0.149 271.3)
XYZxyz(10.0272, 7.5854, 34.6470)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3545A1 #A19135
analogous
#357BA1 #3545A1 #5B35A1
triadic
#3545A1 #A13545 #45A135
tetradic
#3545A1 #A1357B #A19135 #35A15B
square
#3545A1 #A1357B #A19135 #35A15B
split-complementary
#3545A1 #A15B35 #7BA135
monochromatic
#171E45 #263173 #3545A1 #4E60C5 #7C89D4

Accessibility & contrast

On white

8.34
#3545A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3545A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3545A1
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3545A1#FFFFFF#000000##FFFFFF
##3545A11.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#00499F
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3545a1;
/* rgb */ color: rgb(53, 69, 161);
/* oklch */ color: oklch(43.3% 0.149 271.3);
Tailwind
colors: {
  custom: {
    50: '#7978bd',
    500: '#3545a1',
    950: '#000000',
  },
}
SCSS
$custom: #3545a1;
$custom-light: #7978bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3545a1",
  "rgb": {
    "r": 53,
    "g": 69,
    "b": 161
  },
  "hsl": {
    "h": 231.111,
    "s": 50.467,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43279,
    "c": 0.1493,
    "h": 271.3
  },
  "luminance": 0.07586
}

Semantic roles & 50–950 ramp

primary
#3545A1
secondary
#BDB275
accent
#C54EDA
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3545A1

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

Preview Lab → · Contrast checker → · Palette generator →

#3545A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva