#545AA9#545AA9

#545AA9 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.2% C 0.124 H 277.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#545AA9
RGBrgb(84, 90, 169)
HSLhsl(236, 34%, 50%)
HSVhsv(236, 50%, 66%)
CMYKcmyk(50.3%, 46.7%, 0%, 33.7%)
CIE-LABlab(41.31, 19.95, -43.33)
CIE-LCHlch(41.31, 47.71, 294.72°)
OKLaboklab(50.18% 0.0165 -0.1231)
OKLCHoklch(50.18% 0.124 277.7)
XYZxyz(14.4715, 12.0609, 39.0939)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AA9 #A9A354
analogous
#5485A9 #545AA9 #7954A9
triadic
#545AA9 #A9545A #5AA954
tetradic
#545AA9 #A95485 #A9A354 #54A979
square
#545AA9 #A95485 #A9A354 #54A979
split-complementary
#545AA9 #A97954 #85A954
monochromatic
#2B2E57 #404480 #545AA9 #7C81BE #A5A8D2

Accessibility & contrast

On white

6.15
#545AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#545AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AA9
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AA9#FFFFFF#000000##FFFFFF
##545AA91.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3865AC
Deuteranopia (green-blind)
#305EA7
Tritanopia (blue-blind)
#336B79
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #545aa9;
/* rgb */ color: rgb(84, 90, 169);
/* oklch */ color: oklch(50.2% 0.124 277.7);
Tailwind
colors: {
  custom: {
    50: '#8a88c3',
    500: '#545aa9',
    950: '#000000',
  },
}
SCSS
$custom: #545aa9;
$custom-light: #8a88c3;
$custom-dark: #000000;
JSON
{
  "hex": "#545aa9",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 169
  },
  "hsl": {
    "h": 235.765,
    "s": 33.597,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50175,
    "c": 0.12425,
    "h": 277.7
  },
  "luminance": 0.12062
}

Semantic roles & 50–950 ramp

primary
#545AA9
secondary
#C0BD99
accent
#C25ECA
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #545AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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