#3545B6#3545B6

#3545B6 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.0% C 0.178 H 271.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#3545B6
RGBrgb(53, 69, 182)
HSLhsl(233, 55%, 46%)
HSVhsv(233, 71%, 71%)
CMYKcmyk(70.9%, 62.1%, 0%, 28.6%)
CIE-LABlab(34.78, 32.21, -61.68)
CIE-LCHlch(34.78, 69.58, 297.57°)
OKLaboklab(45.05% 0.0034 -0.178)
OKLCHoklch(45.05% 0.178 271.1)
XYZxyz(12.0370, 8.3893, 45.2318)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3545B6 #B6A635
analogous
#3585B6 #3545B6 #6535B6
triadic
#3545B6 #B63545 #45B635
tetradic
#3545B6 #B63585 #B6A635 #35B665
square
#3545B6 #B63585 #B6A635 #35B665
split-complementary
#3545B6 #B66535 #85B635
monochromatic
#192157 #273387 #3545B6 #5968CF #8993DD

Accessibility & contrast

On white

7.84
#3545B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3545B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3545B6
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3545B6#FFFFFF#000000##FFFFFF
##3545B61.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#004CB4
Tritanopia (blue-blind)
#006277
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3545b6;
/* rgb */ color: rgb(53, 69, 182);
/* oklch */ color: oklch(45.0% 0.178 271.1);
Tailwind
colors: {
  custom: {
    50: '#7e78cd',
    500: '#3545b6',
    950: '#000000',
  },
}
SCSS
$custom: #3545b6;
$custom-light: #7e78cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3545b6",
  "rgb": {
    "r": 53,
    "g": 69,
    "b": 182
  },
  "hsl": {
    "h": 232.558,
    "s": 54.894,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45049,
    "c": 0.17807,
    "h": 271.1
  },
  "luminance": 0.08391
}

Semantic roles & 50–950 ramp

primary
#3545B6
secondary
#C7BE80
accent
#CC4ADE
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3545B6

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

Preview Lab → · Contrast checker → · Palette generator →

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