#3545B9#3545B9

#3545B9 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.3% C 0.182 H 271.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#3545B9
RGBrgb(53, 69, 185)
HSLhsl(233, 55%, 47%)
HSVhsv(233, 71%, 73%)
CMYKcmyk(71.4%, 62.7%, 0%, 27.5%)
CIE-LABlab(35.03, 33.28, -63.04)
CIE-LCHlch(35.03, 71.28, 297.83°)
OKLaboklab(45.31% 0.0033 -0.182)
OKLCHoklch(45.31% 0.182 271)
XYZxyz(12.3503, 8.5147, 46.8822)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3545B9 #B9A935
analogous
#3587B9 #3545B9 #6735B9
triadic
#3545B9 #B93545 #45B935
tetradic
#3545B9 #B93587 #B9A935 #35B967
square
#3545B9 #B93587 #B9A935 #35B967
split-complementary
#3545B9 #B96735 #87B935
monochromatic
#1A225A #273389 #3545B9 #5B69D0 #8B95DE

Accessibility & contrast

On white

7.77
#3545B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3545B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3545B9
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3545B9#FFFFFF#000000##FFFFFF
##3545B91.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#004CB7
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3545b9;
/* rgb */ color: rgb(53, 69, 185);
/* oklch */ color: oklch(45.3% 0.182 271.0);
Tailwind
colors: {
  custom: {
    50: '#7e78cf',
    500: '#3545b9',
    950: '#000000',
  },
}
SCSS
$custom: #3545b9;
$custom-light: #7e78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3545b9",
  "rgb": {
    "r": 53,
    "g": 69,
    "b": 185
  },
  "hsl": {
    "h": 232.727,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45313,
    "c": 0.18206,
    "h": 271
  },
  "luminance": 0.08516
}

Semantic roles & 50–950 ramp

primary
#3545B9
secondary
#C8BF82
accent
#CD49DF
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3545B9

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

Preview Lab → · Contrast checker → · Palette generator →

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