#545AB8#545AB8

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

Color values

HEX#545AB8
RGBrgb(84, 90, 184)
HSLhsl(236, 41%, 53%)
HSVhsv(236, 54%, 72%)
CMYKcmyk(54.3%, 51.1%, 0%, 27.8%)
CIE-LABlab(42.24, 24.81, -50.67)
CIE-LCHlch(42.24, 56.42, 296.09°)
OKLaboklab(51.18% 0.0182 -0.1447)
OKLCHoklch(51.18% 0.146 277.2)
XYZxyz(15.9613, 12.6568, 46.9400)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AB8 #B8B254
analogous
#548CB8 #545AB8 #8054B8
triadic
#545AB8 #B8545A #5AB854
tetradic
#545AB8 #B8548C #B8B254 #54B880
square
#545AB8 #B8548C #B8B254 #54B880
split-complementary
#545AB8 #B88054 #8CB854
monochromatic
#2B2E67 #3D4292 #545AB8 #7F84CA #AAADDC

Accessibility & contrast

On white

5.95
#545AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#545AB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AB8
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AB8#FFFFFF#000000##FFFFFF
##545AB81.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A68BB
Deuteranopia (green-blind)
#1C60B6
Tritanopia (blue-blind)
#246F80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #545ab8;
/* rgb */ color: rgb(84, 90, 184);
/* oklch */ color: oklch(51.2% 0.146 277.2);
Tailwind
colors: {
  custom: {
    50: '#8c88ce',
    500: '#545ab8',
    950: '#000000',
  },
}
SCSS
$custom: #545ab8;
$custom-light: #8c88ce;
$custom-dark: #000000;
JSON
{
  "hex": "#545ab8",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 184
  },
  "hsl": {
    "h": 236.4,
    "s": 41.322,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51176,
    "c": 0.14583,
    "h": 277.2
  },
  "luminance": 0.12658
}

Semantic roles & 50–950 ramp

primary
#545AB8
secondary
#CAC79E
accent
#CA57D1
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #545AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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