#545BAD#545BAD

#545BAD is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.6% C 0.129 H 277.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#545BAD
RGBrgb(84, 91, 173)
HSLhsl(235, 35%, 50%)
HSVhsv(235, 51%, 68%)
CMYKcmyk(51.4%, 47.4%, 0%, 32.2%)
CIE-LABlab(41.82, 20.61, -44.89)
CIE-LCHlch(41.82, 49.39, 294.66°)
OKLaboklab(50.64% 0.0159 -0.1277)
OKLCHoklch(50.64% 0.129 277.1)
XYZxyz(14.9377, 12.3832, 41.1301)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BAD #ADA654
analogous
#5487AD #545BAD #7954AD
triadic
#545BAD #AD545B #5BAD54
tetradic
#545BAD #AD5487 #ADA654 #54AD79
square
#545BAD #AD5487 #ADA654 #54AD79
split-complementary
#545BAD #AD7954 #87AD54
monochromatic
#2C2F5B #3F4584 #545BAD #7D83C1 #A7AAD5

Accessibility & contrast

On white

6.04
#545BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#545BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BAD
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BAD#FFFFFF#000000##FFFFFF
##545BAD1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3766B0
Deuteranopia (green-blind)
#2E5FAB
Tritanopia (blue-blind)
#2F6D7B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #545bad;
/* rgb */ color: rgb(84, 91, 173);
/* oklch */ color: oklch(50.6% 0.129 277.1);
Tailwind
colors: {
  custom: {
    50: '#8a89c6',
    500: '#545bad',
    950: '#000000',
  },
}
SCSS
$custom: #545bad;
$custom-light: #8a89c6;
$custom-dark: #000000;
JSON
{
  "hex": "#545bad",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 173
  },
  "hsl": {
    "h": 235.281,
    "s": 35.178,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50636,
    "c": 0.12867,
    "h": 277.1
  },
  "luminance": 0.12384
}

Semantic roles & 50–950 ramp

primary
#545BAD
secondary
#C2BF9B
accent
#C35DCB
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #545BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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