#545DB8#545DB8

#545DB8 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.8% C 0.142 H 276.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#545DB8
RGBrgb(84, 93, 184)
HSLhsl(235, 41%, 53%)
HSVhsv(235, 54%, 72%)
CMYKcmyk(54.3%, 49.5%, 0%, 27.8%)
CIE-LABlab(43.02, 22.92, -49.41)
CIE-LCHlch(43.02, 54.47, 294.89°)
OKLaboklab(51.77% 0.0149 -0.141)
OKLCHoklch(51.77% 0.142 276)
XYZxyz(16.2195, 13.1731, 47.0261)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DB8 #B8AF54
analogous
#548FB8 #545DB8 #7D54B8
triadic
#545DB8 #B8545D #5DB854
tetradic
#545DB8 #B8548F #B8AF54 #54B87D
square
#545DB8 #B8548F #B8AF54 #54B87D
split-complementary
#545DB8 #B87D54 #8FB854
monochromatic
#2B3067 #3D4492 #545DB8 #7F86CA #AAAFDC

Accessibility & contrast

On white

5.78
#545DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#545DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DB8
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DB8#FFFFFF#000000##FFFFFF
##545DB81.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316ABB
Deuteranopia (green-blind)
#2462B6
Tritanopia (blue-blind)
#237182
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #545db8;
/* rgb */ color: rgb(84, 93, 184);
/* oklch */ color: oklch(51.8% 0.142 276.0);
Tailwind
colors: {
  custom: {
    50: '#8c8ace',
    500: '#545db8',
    950: '#000000',
  },
}
SCSS
$custom: #545db8;
$custom-light: #8c8ace;
$custom-dark: #000000;
JSON
{
  "hex": "#545db8",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 184
  },
  "hsl": {
    "h": 234.6,
    "s": 41.322,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51765,
    "c": 0.14175,
    "h": 276
  },
  "luminance": 0.13174
}

Semantic roles & 50–950 ramp

primary
#545DB8
secondary
#CAC69E
accent
#C657D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #545DB8

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

Preview Lab → · Contrast checker → · Palette generator →

#545DB8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva