#545ABA#545ABA

#545ABA is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.3% C 0.149 H 277.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#545ABA
RGBrgb(84, 90, 186)
HSLhsl(236, 43%, 53%)
HSVhsv(236, 55%, 73%)
CMYKcmyk(54.8%, 51.6%, 0%, 27.1%)
CIE-LABlab(42.37, 25.47, -51.63)
CIE-LCHlch(42.37, 57.57, 296.26°)
OKLaboklab(51.32% 0.0184 -0.1475)
OKLCHoklch(51.32% 0.149 277.1)
XYZxyz(16.1724, 12.7412, 48.0520)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545ABA #BAB454
analogous
#548DBA #545ABA #8154BA
triadic
#545ABA #BA545A #5ABA54
tetradic
#545ABA #BA548D #BAB454 #54BA81
square
#545ABA #BA548D #BAB454 #54BA81
split-complementary
#545ABA #BA8154 #8DBA54
monochromatic
#2A2E69 #3C4195 #545ABA #8084CC #ABAEDD

Accessibility & contrast

On white

5.92
#545ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#545ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545ABA
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545ABA#FFFFFF#000000##FFFFFF
##545ABA1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2768BD
Deuteranopia (green-blind)
#1760B8
Tritanopia (blue-blind)
#227081
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #545aba;
/* rgb */ color: rgb(84, 90, 186);
/* oklch */ color: oklch(51.3% 0.149 277.1);
Tailwind
colors: {
  custom: {
    50: '#8c88cf',
    500: '#545aba',
    950: '#000000',
  },
}
SCSS
$custom: #545aba;
$custom-light: #8c88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#545aba",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 236.471,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51315,
    "c": 0.14865,
    "h": 277.1
  },
  "luminance": 0.12742
}

Semantic roles & 50–950 ramp

primary
#545ABA
secondary
#CBC89F
accent
#CB56D2
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #545ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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