#545ABE#545ABE

#545ABE is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.6% C 0.154 H 277.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#545ABE
RGBrgb(84, 90, 190)
HSLhsl(237, 45%, 54%)
HSVhsv(237, 56%, 75%)
CMYKcmyk(55.8%, 52.6%, 0%, 25.5%)
CIE-LABlab(42.63, 26.78, -53.54)
CIE-LCHlch(42.63, 59.86, 296.57°)
OKLaboklab(51.6% 0.0187 -0.1531)
OKLCHoklch(51.6% 0.154 277)
XYZxyz(16.6036, 12.9137, 50.3229)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545ABE #BEB854
analogous
#548FBE #545ABE #8354BE
triadic
#545ABE #BE545A #5ABE54
tetradic
#545ABE #BE548F #BEB854 #54BE83
square
#545ABE #BE548F #BEB854 #54BE83
split-complementary
#545ABE #BE8354 #8FBE54
monochromatic
#2A2E6E #3B409A #545ABE #8085CF #ADB0E0

Accessibility & contrast

On white

5.86
#545ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#545ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545ABE
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545ABE#FFFFFF#000000##FFFFFF
##545ABE1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2269C2
Deuteranopia (green-blind)
#0A60BC
Tritanopia (blue-blind)
#1C7183
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #545abe;
/* rgb */ color: rgb(84, 90, 190);
/* oklch */ color: oklch(51.6% 0.154 277.0);
Tailwind
colors: {
  custom: {
    50: '#8d88d2',
    500: '#545abe',
    950: '#000000',
  },
}
SCSS
$custom: #545abe;
$custom-light: #8d88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#545abe",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 236.604,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51596,
    "c": 0.15426,
    "h": 277
  },
  "luminance": 0.12915
}

Semantic roles & 50–950 ramp

primary
#545ABE
secondary
#CECBA0
accent
#CD53D5
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #545ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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