#545AB0#545AB0

#545AB0 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.6% C 0.134 H 277.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#545AB0
RGBrgb(84, 90, 176)
HSLhsl(236, 37%, 51%)
HSVhsv(236, 52%, 69%)
CMYKcmyk(52.3%, 48.9%, 0%, 31%)
CIE-LABlab(41.74, 22.21, -46.79)
CIE-LCHlch(41.74, 51.79, 295.39°)
OKLaboklab(50.63% 0.0174 -0.1333)
OKLCHoklch(50.63% 0.134 277.4)
XYZxyz(15.1463, 12.3308, 42.6478)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AB0 #B0AA54
analogous
#5488B0 #545AB0 #7C54B0
triadic
#545AB0 #B0545A #5AB054
tetradic
#545AB0 #B05488 #B0AA54 #54B07C
square
#545AB0 #B05488 #B0AA54 #54B07C
split-complementary
#545AB0 #B07C54 #88B054
monochromatic
#2B2F5E #3F4488 #545AB0 #7E82C3 #A8ABD7

Accessibility & contrast

On white

6.06
#545AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#545AB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AB0
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AB0#FFFFFF#000000##FFFFFF
##545AB01.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3266B3
Deuteranopia (green-blind)
#285FAE
Tritanopia (blue-blind)
#2D6D7C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #545ab0;
/* rgb */ color: rgb(84, 90, 176);
/* oklch */ color: oklch(50.6% 0.134 277.4);
Tailwind
colors: {
  custom: {
    50: '#8b88c8',
    500: '#545ab0',
    950: '#000000',
  },
}
SCSS
$custom: #545ab0;
$custom-light: #8b88c8;
$custom-dark: #000000;
JSON
{
  "hex": "#545ab0",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 176
  },
  "hsl": {
    "h": 236.087,
    "s": 36.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50633,
    "c": 0.1344,
    "h": 277.4
  },
  "luminance": 0.12332
}

Semantic roles & 50–950 ramp

primary
#545AB0
secondary
#C4C29C
accent
#C55BCD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #545AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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