#3545B2#3545B2

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

Color values

HEX#3545B2
RGBrgb(53, 69, 178)
HSLhsl(232, 54%, 45%)
HSVhsv(232, 70%, 70%)
CMYKcmyk(70.2%, 61.2%, 0%, 30.2%)
CIE-LABlab(34.45, 30.77, -59.85)
CIE-LCHlch(34.45, 67.30, 297.21°)
OKLaboklab(44.7% 0.0035 -0.1727)
OKLCHoklch(44.7% 0.173 271.2)
XYZxyz(11.6295, 8.2263, 43.0858)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3545B2 #B2A235
analogous
#3583B2 #3545B2 #6335B2
triadic
#3545B2 #B23545 #45B235
tetradic
#3545B2 #B23583 #B2A235 #35B263
square
#3545B2 #B23583 #B2A235 #35B263
split-complementary
#3545B2 #B26335 #83B235
monochromatic
#192054 #273383 #3545B2 #5766CD #8691DB

Accessibility & contrast

On white

7.94
#3545B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3545B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3545B2
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3545B2#FFFFFF#000000##FFFFFF
##3545B21.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3545b2;
/* rgb */ color: rgb(53, 69, 178);
/* oklch */ color: oklch(44.7% 0.173 271.2);
Tailwind
colors: {
  custom: {
    50: '#7d78ca',
    500: '#3545b2',
    950: '#000000',
  },
}
SCSS
$custom: #3545b2;
$custom-light: #7d78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3545b2",
  "rgb": {
    "r": 53,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 232.32,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44702,
    "c": 0.17272,
    "h": 271.2
  },
  "luminance": 0.08227
}

Semantic roles & 50–950 ramp

primary
#3545B2
secondary
#C5BC7E
accent
#CB4ADD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3545B2

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

Preview Lab → · Contrast checker → · Palette generator →

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