#545BC8#545BC8

#545BC8 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.5% C 0.167 H 276.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#545BC8
RGBrgb(84, 91, 200)
HSLhsl(236, 51%, 56%)
HSVhsv(236, 58%, 78%)
CMYKcmyk(58%, 54.5%, 0%, 21.6%)
CIE-LABlab(43.56, 29.44, -57.84)
CIE-LCHlch(43.56, 64.91, 296.98°)
OKLaboklab(52.51% 0.0182 -0.1658)
OKLCHoklch(52.51% 0.167 276.3)
XYZxyz(17.8192, 13.5358, 56.3061)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BC8 #C8C154
analogous
#5495C8 #545BC8 #8754C8
triadic
#545BC8 #C8545B #5BC854
tetradic
#545BC8 #C85495 #C8C154 #54C887
square
#545BC8 #C85495 #C8C154 #54C887
split-complementary
#545BC8 #C88754 #95C854
monochromatic
#272C7A #363DA9 #545BC8 #8287D7 #B1B4E6

Accessibility & contrast

On white

5.66
#545BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#545BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BC8
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BC8#FFFFFF#000000##FFFFFF
##545BC81.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106CCC
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #545bc8;
/* rgb */ color: rgb(84, 91, 200);
/* oklch */ color: oklch(52.5% 0.167 276.3);
Tailwind
colors: {
  custom: {
    50: '#8e89d9',
    500: '#545bc8',
    950: '#000000',
  },
}
SCSS
$custom: #545bc8;
$custom-light: #8e89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#545bc8",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 200
  },
  "hsl": {
    "h": 236.379,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52505,
    "c": 0.16677,
    "h": 276.3
  },
  "luminance": 0.13537
}

Semantic roles & 50–950 ramp

primary
#545BC8
secondary
#D4D1A4
accent
#D24DDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #545BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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