#545AD6#545AD6

#545AD6 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.4% C 0.187 H 275.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#545AD6
RGBrgb(84, 90, 214)
HSLhsl(237, 61%, 58%)
HSVhsv(237, 61%, 84%)
CMYKcmyk(60.7%, 57.9%, 0%, 16.1%)
CIE-LABlab(44.31, 34.69, -64.68)
CIE-LCHlch(44.31, 73.39, 298.20°)
OKLaboklab(53.37% 0.0194 -0.1859)
OKLCHoklch(53.37% 0.187 275.9)
XYZxyz(19.4460, 14.0507, 65.2926)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AD6 #D6D054
analogous
#549BD6 #545AD6 #8F54D6
triadic
#545AD6 #D6545A #5AD654
tetradic
#545AD6 #D6549B #D6D054 #54D68F
square
#545AD6 #D6549B #D6D054 #54D68F
split-complementary
#545AD6 #D68F54 #9BD654
monochromatic
#22278E #2E34BF #545AD6 #858AE2 #B7B9EE

Accessibility & contrast

On white

5.51
#545AD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#545AD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AD6
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AD6#FFFFFF#000000##FFFFFF
##545AD61.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#0063D3
Tritanopia (blue-blind)
#00788F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #545ad6;
/* rgb */ color: rgb(84, 90, 214);
/* oklch */ color: oklch(53.4% 0.187 275.9);
Tailwind
colors: {
  custom: {
    50: '#9188e3',
    500: '#545ad6',
    950: '#000000',
  },
}
SCSS
$custom: #545ad6;
$custom-light: #9188e3;
$custom-dark: #000000;
JSON
{
  "hex": "#545ad6",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 214
  },
  "hsl": {
    "h": 237.231,
    "s": 61.321,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53374,
    "c": 0.18691,
    "h": 275.9
  },
  "luminance": 0.14052
}

Semantic roles & 50–950 ramp

primary
#545AD6
secondary
#DDDAA9
accent
#DD43E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #545AD6

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

Preview Lab → · Contrast checker → · Palette generator →

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