#3545B1#3545B1

#3545B1 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.171 H 271.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#3545B1
RGBrgb(53, 69, 177)
HSLhsl(232, 54%, 45%)
HSVhsv(232, 70%, 69%)
CMYKcmyk(70.1%, 61%, 0%, 30.6%)
CIE-LABlab(34.37, 30.41, -59.39)
CIE-LCHlch(34.37, 66.72, 297.11°)
OKLaboklab(44.62% 0.0035 -0.1713)
OKLCHoklch(44.62% 0.171 271.2)
XYZxyz(11.5294, 8.1863, 42.5590)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3545B1 #B1A135
analogous
#3583B1 #3545B1 #6335B1
triadic
#3545B1 #B13545 #45B135
tetradic
#3545B1 #B13583 #B1A135 #35B163
square
#3545B1 #B13583 #B1A135 #35B163
split-complementary
#3545B1 #B16335 #83B135
monochromatic
#192053 #273382 #3545B1 #5766CD #8691DB

Accessibility & contrast

On white

7.96
#3545B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3545B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3545B1
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3545B1#FFFFFF#000000##FFFFFF
##3545B11.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3545b1;
/* rgb */ color: rgb(53, 69, 177);
/* oklch */ color: oklch(44.6% 0.171 271.2);
Tailwind
colors: {
  custom: {
    50: '#7c78c9',
    500: '#3545b1',
    950: '#000000',
  },
}
SCSS
$custom: #3545b1;
$custom-light: #7c78c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3545b1",
  "rgb": {
    "r": 53,
    "g": 69,
    "b": 177
  },
  "hsl": {
    "h": 232.258,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44616,
    "c": 0.17137,
    "h": 271.2
  },
  "luminance": 0.08187
}

Semantic roles & 50–950 ramp

primary
#3545B1
secondary
#C4BB7D
accent
#CA4BDD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3545B1

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

Preview Lab → · Contrast checker → · Palette generator →

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