#3545A2#3545A2

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

Color values

HEX#3545A2
RGBrgb(53, 69, 162)
HSLhsl(231, 51%, 42%)
HSVhsv(231, 67%, 64%)
CMYKcmyk(67.3%, 57.4%, 0%, 36.5%)
CIE-LABlab(33.18, 24.97, -52.36)
CIE-LCHlch(33.18, 58.01, 295.49°)
OKLaboklab(43.36% 0.0034 -0.1507)
OKLCHoklch(43.36% 0.151 271.3)
XYZxyz(10.1157, 7.6208, 35.1133)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3545A2 #A29235
analogous
#357BA2 #3545A2 #5C35A2
triadic
#3545A2 #A23545 #45A235
tetradic
#3545A2 #A2357B #A29235 #35A25C
square
#3545A2 #A2357B #A29235 #35A25C
split-complementary
#3545A2 #A25C35 #7BA235
monochromatic
#171E46 #263174 #3545A2 #4F60C5 #7D8AD4

Accessibility & contrast

On white

8.32
#3545A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3545A2
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3545A2#FFFFFF#000000##FFFFFF
##3545A21.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3545a2;
/* rgb */ color: rgb(53, 69, 162);
/* oklch */ color: oklch(43.4% 0.151 271.3);
Tailwind
colors: {
  custom: {
    50: '#7978be',
    500: '#3545a2',
    950: '#000000',
  },
}
SCSS
$custom: #3545a2;
$custom-light: #7978be;
$custom-dark: #000000;
JSON
{
  "hex": "#3545a2",
  "rgb": {
    "r": 53,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 231.193,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4336,
    "c": 0.1507,
    "h": 271.3
  },
  "luminance": 0.07622
}

Semantic roles & 50–950 ramp

primary
#3545A2
secondary
#BDB375
accent
#C64EDA
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3545A2

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

Preview Lab → · Contrast checker → · Palette generator →

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