#545AD9#545AD9

#545AD9 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.6% C 0.191 H 275.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#545AD9
RGBrgb(84, 90, 217)
HSLhsl(237, 64%, 59%)
HSVhsv(237, 61%, 85%)
CMYKcmyk(61.3%, 58.5%, 0%, 14.9%)
CIE-LABlab(44.53, 35.68, -66.03)
CIE-LCHlch(44.53, 75.06, 298.38°)
OKLaboklab(53.61% 0.0194 -0.1899)
OKLCHoklch(53.61% 0.191 275.8)
XYZxyz(19.8326, 14.2053, 67.3290)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AD9 #D9D354
analogous
#549DD9 #545AD9 #9154D9
triadic
#545AD9 #D9545A #5AD954
tetradic
#545AD9 #D9549D #D9D354 #54D991
square
#545AD9 #D9549D #D9D354 #54D991
split-complementary
#545AD9 #D99154 #9DD954
monochromatic
#202692 #2C32C4 #545AD9 #868AE4 #B8BBEF

Accessibility & contrast

On white

5.47
#545AD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#545AD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AD9
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AD9#FFFFFF#000000##FFFFFF
##545AD91.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#007991
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #545ad9;
/* rgb */ color: rgb(84, 90, 217);
/* oklch */ color: oklch(53.6% 0.191 275.8);
Tailwind
colors: {
  custom: {
    50: '#9188e6',
    500: '#545ad9',
    950: '#000000',
  },
}
SCSS
$custom: #545ad9;
$custom-light: #9188e6;
$custom-dark: #000000;
JSON
{
  "hex": "#545ad9",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 217
  },
  "hsl": {
    "h": 237.293,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53606,
    "c": 0.19086,
    "h": 275.8
  },
  "luminance": 0.14207
}

Semantic roles & 50–950 ramp

primary
#545AD9
secondary
#DFDCAA
accent
#DF41E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #545AD9

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

Preview Lab → · Contrast checker → · Palette generator →

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