#545ACC#545ACC

#545ACC is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.6% C 0.174 H 276.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#545ACC
RGBrgb(84, 90, 204)
HSLhsl(237, 54%, 56%)
HSVhsv(237, 59%, 80%)
CMYKcmyk(58.8%, 55.9%, 0%, 20%)
CIE-LABlab(43.59, 31.39, -60.10)
CIE-LCHlch(43.59, 67.81, 297.57°)
OKLaboklab(52.61% 0.0193 -0.1724)
OKLCHoklch(52.61% 0.174 276.4)
XYZxyz(18.2079, 13.5554, 58.7720)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545ACC #CCC654
analogous
#5496CC #545ACC #8A54CC
triadic
#545ACC #CC545A #5ACC54
tetradic
#545ACC #CC5496 #CCC654 #54CC8A
square
#545ACC #CC5496 #CCC654 #54CC8A
split-complementary
#545ACC #CC8A54 #96CC54
monochromatic
#262B80 #343AAF #545ACC #8387DA #B2B5E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545ACC#FFFFFF#000000##FFFFFF
##545ACC1.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)
#006CD0
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #545acc;
/* rgb */ color: rgb(84, 90, 204);
/* oklch */ color: oklch(52.6% 0.174 276.4);
Tailwind
colors: {
  custom: {
    50: '#8f88dc',
    500: '#545acc',
    950: '#000000',
  },
}
SCSS
$custom: #545acc;
$custom-light: #8f88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#545acc",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 204
  },
  "hsl": {
    "h": 237,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52614,
    "c": 0.17351,
    "h": 276.4
  },
  "luminance": 0.13557
}

Semantic roles & 50–950 ramp

primary
#545ACC
secondary
#D7D4A5
accent
#D64ADD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #545ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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