#545AB9#545AB9

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

Color values

HEX#545AB9
RGBrgb(84, 90, 185)
HSLhsl(236, 42%, 53%)
HSVhsv(236, 55%, 73%)
CMYKcmyk(54.6%, 51.4%, 0%, 27.5%)
CIE-LABlab(42.31, 25.14, -51.15)
CIE-LCHlch(42.31, 56.99, 296.17°)
OKLaboklab(51.25% 0.0183 -0.1461)
OKLCHoklch(51.25% 0.147 277.1)
XYZxyz(16.0665, 12.6989, 47.4940)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AB9 #B9B354
analogous
#548CB9 #545AB9 #8154B9
triadic
#545AB9 #B9545A #5AB954
tetradic
#545AB9 #B9548C #B9B354 #54B981
square
#545AB9 #B9548C #B9B354 #54B981
split-complementary
#545AB9 #B98154 #8CB954
monochromatic
#2B2E68 #3C4293 #545AB9 #7F84CB #ABAEDD

Accessibility & contrast

On white

5.93
#545AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#545AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AB9
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AB9#FFFFFF#000000##FFFFFF
##545AB91.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2968BC
Deuteranopia (green-blind)
#1960B7
Tritanopia (blue-blind)
#236F81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #545ab9;
/* rgb */ color: rgb(84, 90, 185);
/* oklch */ color: oklch(51.2% 0.147 277.1);
Tailwind
colors: {
  custom: {
    50: '#8c88cf',
    500: '#545ab9',
    950: '#000000',
  },
}
SCSS
$custom: #545ab9;
$custom-light: #8c88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#545ab9",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 185
  },
  "hsl": {
    "h": 236.436,
    "s": 41.909,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51245,
    "c": 0.14724,
    "h": 277.1
  },
  "luminance": 0.127
}

Semantic roles & 50–950 ramp

primary
#545AB9
secondary
#CAC89F
accent
#CA56D2
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #545AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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