#545AB4#545AB4

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

Color values

HEX#545AB4
RGBrgb(84, 90, 180)
HSLhsl(236, 39%, 52%)
HSVhsv(236, 53%, 71%)
CMYKcmyk(53.3%, 50%, 0%, 29.4%)
CIE-LABlab(41.99, 23.51, -48.74)
CIE-LCHlch(41.99, 54.11, 295.75°)
OKLaboklab(50.9% 0.0179 -0.139)
OKLCHoklch(50.9% 0.14 277.3)
XYZxyz(15.5479, 12.4915, 44.7630)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AB4 #B4AE54
analogous
#548AB4 #545AB4 #7E54B4
triadic
#545AB4 #B4545A #5AB454
tetradic
#545AB4 #B4548A #B4AE54 #54B47E
square
#545AB4 #B4548A #B4AE54 #54B47E
split-complementary
#545AB4 #B47E54 #8AB454
monochromatic
#2B2F62 #3E438D #545AB4 #7F83C7 #A9ACD9

Accessibility & contrast

On white

6.00
#545AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#545AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AB4
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AB4#FFFFFF#000000##FFFFFF
##545AB41.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E67B7
Deuteranopia (green-blind)
#235FB2
Tritanopia (blue-blind)
#296E7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #545ab4;
/* rgb */ color: rgb(84, 90, 180);
/* oklch */ color: oklch(50.9% 0.140 277.3);
Tailwind
colors: {
  custom: {
    50: '#8b88cb',
    500: '#545ab4',
    950: '#000000',
  },
}
SCSS
$custom: #545ab4;
$custom-light: #8b88cb;
$custom-dark: #000000;
JSON
{
  "hex": "#545ab4",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 180
  },
  "hsl": {
    "h": 236.25,
    "s": 39.024,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50902,
    "c": 0.14014,
    "h": 277.3
  },
  "luminance": 0.12492
}

Semantic roles & 50–950 ramp

primary
#545AB4
secondary
#C7C49D
accent
#C859CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #545AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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