#3545B5#3545B5

#3545B5 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 45.0% C 0.177 H 271.1°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#3545B5
RGBrgb(53, 69, 181)
HSLhsl(233, 55%, 46%)
HSVhsv(233, 71%, 71%)
CMYKcmyk(70.7%, 61.9%, 0%, 29%)
CIE-LABlab(34.70, 31.85, -61.22)
CIE-LCHlch(34.70, 69.01, 297.48°)
OKLaboklab(44.96% 0.0034 -0.1767)
OKLCHoklch(44.96% 0.177 271.1)
XYZxyz(11.9340, 8.3481, 44.6895)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3545B5 #B5A535
analogous
#3585B5 #3545B5 #6535B5
triadic
#3545B5 #B53545 #45B535
tetradic
#3545B5 #B53585 #B5A535 #35B565
square
#3545B5 #B53585 #B5A535 #35B565
split-complementary
#3545B5 #B56535 #85B535
monochromatic
#192156 #273386 #3545B5 #5968CE #8893DC

Accessibility & contrast

On white

7.87
#3545B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3545B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3545B5
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3545B5#FFFFFF#000000##FFFFFF
##3545B51.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#004CB3
Tritanopia (blue-blind)
#006176
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3545b5;
/* rgb */ color: rgb(53, 69, 181);
/* oklch */ color: oklch(45.0% 0.177 271.1);
Tailwind
colors: {
  custom: {
    50: '#7d78cc',
    500: '#3545b5',
    950: '#000000',
  },
}
SCSS
$custom: #3545b5;
$custom-light: #7d78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3545b5",
  "rgb": {
    "r": 53,
    "g": 69,
    "b": 181
  },
  "hsl": {
    "h": 232.5,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44962,
    "c": 0.17673,
    "h": 271.1
  },
  "luminance": 0.08349
}

Semantic roles & 50–950 ramp

primary
#3545B5
secondary
#C6BD80
accent
#CC4ADE
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3545B5

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

Preview Lab → · Contrast checker → · Palette generator →

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