#545AB2#545AB2

#545AB2 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.8% C 0.137 H 277.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#545AB2
RGBrgb(84, 90, 178)
HSLhsl(236, 38%, 51%)
HSVhsv(236, 53%, 70%)
CMYKcmyk(52.8%, 49.4%, 0%, 30.2%)
CIE-LABlab(41.86, 22.86, -47.76)
CIE-LCHlch(41.86, 52.95, 295.58°)
OKLaboklab(50.77% 0.0176 -0.1361)
OKLCHoklch(50.77% 0.137 277.4)
XYZxyz(15.3457, 12.4105, 43.6977)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AB2 #B2AC54
analogous
#5489B2 #545AB2 #7D54B2
triadic
#545AB2 #B2545A #5AB254
tetradic
#545AB2 #B25489 #B2AC54 #54B27D
square
#545AB2 #B25489 #B2AC54 #54B27D
split-complementary
#545AB2 #B27D54 #89B254
monochromatic
#2B2F60 #3E438A #545AB2 #7E83C5 #A8ABD8

Accessibility & contrast

On white

6.03
#545AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#545AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AB2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AB2#FFFFFF#000000##FFFFFF
##545AB21.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3067B5
Deuteranopia (green-blind)
#265FB0
Tritanopia (blue-blind)
#2B6D7D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #545ab2;
/* rgb */ color: rgb(84, 90, 178);
/* oklch */ color: oklch(50.8% 0.137 277.4);
Tailwind
colors: {
  custom: {
    50: '#8b88c9',
    500: '#545ab2',
    950: '#000000',
  },
}
SCSS
$custom: #545ab2;
$custom-light: #8b88c9;
$custom-dark: #000000;
JSON
{
  "hex": "#545ab2",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 178
  },
  "hsl": {
    "h": 236.17,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50767,
    "c": 0.13728,
    "h": 277.4
  },
  "luminance": 0.12411
}

Semantic roles & 50–950 ramp

primary
#545AB2
secondary
#C6C39C
accent
#C65ACE
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #545AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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