#545AAE#545AAE

#545AAE is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.5% C 0.132 H 277.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#545AAE
RGBrgb(84, 90, 174)
HSLhsl(236, 36%, 51%)
HSVhsv(236, 52%, 68%)
CMYKcmyk(51.7%, 48.3%, 0%, 31.8%)
CIE-LABlab(41.61, 21.56, -45.81)
CIE-LCHlch(41.61, 50.63, 295.21°)
OKLaboklab(50.5% 0.0172 -0.1304)
OKLCHoklch(50.5% 0.132 277.5)
XYZxyz(14.9499, 12.2522, 41.6133)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AAE #AEA854
analogous
#5487AE #545AAE #7B54AE
triadic
#545AAE #AE545A #5AAE54
tetradic
#545AAE #AE5487 #AEA854 #54AE7B
square
#545AAE #AE5487 #AEA854 #54AE7B
split-complementary
#545AAE #AE7B54 #87AE54
monochromatic
#2C2F5C #3F4486 #545AAE #7E82C2 #A7AAD5

Accessibility & contrast

On white

6.09
#545AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#545AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AAE
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AAE#FFFFFF#000000##FFFFFF
##545AAE1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B1
Deuteranopia (green-blind)
#2B5FAC
Tritanopia (blue-blind)
#2E6C7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #545aae;
/* rgb */ color: rgb(84, 90, 174);
/* oklch */ color: oklch(50.5% 0.132 277.5);
Tailwind
colors: {
  custom: {
    50: '#8a88c7',
    500: '#545aae',
    950: '#000000',
  },
}
SCSS
$custom: #545aae;
$custom-light: #8a88c7;
$custom-dark: #000000;
JSON
{
  "hex": "#545aae",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 174
  },
  "hsl": {
    "h": 236,
    "s": 35.714,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50501,
    "c": 0.13152,
    "h": 277.5
  },
  "luminance": 0.12253
}

Semantic roles & 50–950 ramp

primary
#545AAE
secondary
#C3C09B
accent
#C45CCC
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #545AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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