#545AAB#545AAB

#545AAB is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.3% C 0.127 H 277.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#545AAB
RGBrgb(84, 90, 171)
HSLhsl(236, 34%, 50%)
HSVhsv(236, 51%, 67%)
CMYKcmyk(50.9%, 47.4%, 0%, 32.9%)
CIE-LABlab(41.43, 20.60, -44.33)
CIE-LCHlch(41.43, 48.88, 294.92°)
OKLaboklab(50.3% 0.0168 -0.126)
OKLCHoklch(50.3% 0.127 277.6)
XYZxyz(14.6607, 12.1366, 40.0902)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AAB #ABA554
analogous
#5486AB #545AAB #7954AB
triadic
#545AAB #AB545A #5AAB54
tetradic
#545AAB #AB5486 #ABA554 #54AB79
square
#545AAB #AB5486 #ABA554 #54AB79
split-complementary
#545AAB #AB7954 #86AB54
monochromatic
#2C2F59 #404482 #545AAB #7D82BF #A6A9D3

Accessibility & contrast

On white

6.13
#545AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#545AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AAB
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AAB#FFFFFF#000000##FFFFFF
##545AAB1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AE
Deuteranopia (green-blind)
#2E5EA9
Tritanopia (blue-blind)
#316B7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #545aab;
/* rgb */ color: rgb(84, 90, 171);
/* oklch */ color: oklch(50.3% 0.127 277.6);
Tailwind
colors: {
  custom: {
    50: '#8a88c4',
    500: '#545aab',
    950: '#000000',
  },
}
SCSS
$custom: #545aab;
$custom-light: #8a88c4;
$custom-dark: #000000;
JSON
{
  "hex": "#545aab",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 171
  },
  "hsl": {
    "h": 235.862,
    "s": 34.118,
    "l": 50
  },
  "oklch": {
    "l": 0.50304,
    "c": 0.12717,
    "h": 277.6
  },
  "luminance": 0.12137
}

Semantic roles & 50–950 ramp

primary
#545AAB
secondary
#C1BE9A
accent
#C35ECA
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #545AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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