#545AAA#545AAA

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

Color values

HEX#545AAA
RGBrgb(84, 90, 170)
HSLhsl(236, 34%, 50%)
HSVhsv(236, 51%, 67%)
CMYKcmyk(50.6%, 47.1%, 0%, 33.3%)
CIE-LABlab(41.37, 20.27, -43.83)
CIE-LCHlch(41.37, 48.29, 294.82°)
OKLaboklab(50.24% 0.0167 -0.1246)
OKLCHoklch(50.24% 0.126 277.6)
XYZxyz(14.5658, 12.0986, 39.5902)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AAA #AAA454
analogous
#5485AA #545AAA #7954AA
triadic
#545AAA #AA545A #5AAA54
tetradic
#545AAA #AA5485 #AAA454 #54AA79
square
#545AAA #AA5485 #AAA454 #54AA79
split-complementary
#545AAA #AA7954 #85AA54
monochromatic
#2C2F58 #404481 #545AAA #7D81BF #A6A9D3

Accessibility & contrast

On white

6.14
#545AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#545AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AAA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AAA#FFFFFF#000000##FFFFFF
##545AAA1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AD
Deuteranopia (green-blind)
#2F5EA8
Tritanopia (blue-blind)
#326B7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #545aaa;
/* rgb */ color: rgb(84, 90, 170);
/* oklch */ color: oklch(50.2% 0.126 277.6);
Tailwind
colors: {
  custom: {
    50: '#8a88c4',
    500: '#545aaa',
    950: '#000000',
  },
}
SCSS
$custom: #545aaa;
$custom-light: #8a88c4;
$custom-dark: #000000;
JSON
{
  "hex": "#545aaa",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 235.814,
    "s": 33.858,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50239,
    "c": 0.1257,
    "h": 277.6
  },
  "luminance": 0.12099
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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