#545AB5#545AB5

#545AB5 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.0% C 0.142 H 277.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#545AB5
RGBrgb(84, 90, 181)
HSLhsl(236, 40%, 52%)
HSVhsv(236, 54%, 71%)
CMYKcmyk(53.6%, 50.3%, 0%, 29%)
CIE-LABlab(42.05, 23.84, -49.22)
CIE-LCHlch(42.05, 54.69, 295.84°)
OKLaboklab(50.97% 0.018 -0.1404)
OKLCHoklch(50.97% 0.142 277.3)
XYZxyz(15.6502, 12.5323, 45.3014)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AB5 #B5AF54
analogous
#548AB5 #545AB5 #7F54B5
triadic
#545AB5 #B5545A #5AB554
tetradic
#545AB5 #B5548A #B5AF54 #54B57F
square
#545AB5 #B5548A #B5AF54 #54B57F
split-complementary
#545AB5 #B57F54 #8AB554
monochromatic
#2B2F64 #3E438E #545AB5 #7F83C7 #A9ACDA

Accessibility & contrast

On white

5.99
#545AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#545AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AB5
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AB5#FFFFFF#000000##FFFFFF
##545AB51.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D67B8
Deuteranopia (green-blind)
#215FB3
Tritanopia (blue-blind)
#286E7F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #545ab5;
/* rgb */ color: rgb(84, 90, 181);
/* oklch */ color: oklch(51.0% 0.142 277.3);
Tailwind
colors: {
  custom: {
    50: '#8b88cc',
    500: '#545ab5',
    950: '#000000',
  },
}
SCSS
$custom: #545ab5;
$custom-light: #8b88cc;
$custom-dark: #000000;
JSON
{
  "hex": "#545ab5",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 181
  },
  "hsl": {
    "h": 236.289,
    "s": 39.592,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5097,
    "c": 0.14157,
    "h": 277.3
  },
  "luminance": 0.12533
}

Semantic roles & 50–950 ramp

primary
#545AB5
secondary
#C8C59D
accent
#C858CF
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0B13
muted
#7D7C82

Preview Lab

Preview with #545AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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