#3545A5#3545A5

#3545A5 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.155 H 271.3°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#3545A5
RGBrgb(53, 69, 165)
HSLhsl(231, 51%, 43%)
HSVhsv(231, 68%, 65%)
CMYKcmyk(67.9%, 58.2%, 0%, 35.3%)
CIE-LABlab(33.41, 26.06, -53.79)
CIE-LCHlch(33.41, 59.76, 295.85°)
OKLaboklab(43.61% 0.0035 -0.1549)
OKLCHoklch(43.61% 0.155 271.3)
XYZxyz(10.3856, 7.7288, 36.5345)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3545A5 #A59535
analogous
#357DA5 #3545A5 #5D35A5
triadic
#3545A5 #A53545 #45A535
tetradic
#3545A5 #A5357D #A59535 #35A55D
square
#3545A5 #A5357D #A59535 #35A55D
split-complementary
#3545A5 #A55D35 #7DA535
monochromatic
#171E48 #263277 #3545A5 #5061C7 #7F8BD6

Accessibility & contrast

On white

8.25
#3545A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3545A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3545A5
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3545A5#FFFFFF#000000##FFFFFF
##3545A51.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3545a5;
/* rgb */ color: rgb(53, 69, 165);
/* oklch */ color: oklch(43.6% 0.155 271.3);
Tailwind
colors: {
  custom: {
    50: '#7a78c0',
    500: '#3545a5',
    950: '#000000',
  },
}
SCSS
$custom: #3545a5;
$custom-light: #7a78c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3545a5",
  "rgb": {
    "r": 53,
    "g": 69,
    "b": 165
  },
  "hsl": {
    "h": 231.429,
    "s": 51.376,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43606,
    "c": 0.1549,
    "h": 271.3
  },
  "luminance": 0.0773
}

Semantic roles & 50–950 ramp

primary
#3545A5
secondary
#BFB577
accent
#C74DDB
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3545A5

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

Preview Lab → · Contrast checker → · Palette generator →

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