#545BB4#545BB4

#545BB4 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.139 H 276.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#545BB4
RGBrgb(84, 91, 180)
HSLhsl(236, 39%, 52%)
HSVhsv(236, 53%, 71%)
CMYKcmyk(53.3%, 49.4%, 0%, 29.4%)
CIE-LABlab(42.25, 22.88, -48.32)
CIE-LCHlch(42.25, 53.46, 295.34°)
OKLaboklab(51.1% 0.0167 -0.1378)
OKLCHoklch(51.1% 0.139 276.9)
XYZxyz(15.6329, 12.6613, 44.7913)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BB4 #B4AD54
analogous
#548BB4 #545BB4 #7D54B4
triadic
#545BB4 #B4545B #5BB454
tetradic
#545BB4 #B4548B #B4AD54 #54B47D
square
#545BB4 #B4548B #B4AD54 #54B47D
split-complementary
#545BB4 #B47D54 #8BB454
monochromatic
#2B2F62 #3E448D #545BB4 #7F84C7 #A9ADD9

Accessibility & contrast

On white

5.94
#545BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #545BB4
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BB4#FFFFFF#000000##FFFFFF
##545BB41.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3068B7
Deuteranopia (green-blind)
#2560B2
Tritanopia (blue-blind)
#286F7F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #545bb4;
/* rgb */ color: rgb(84, 91, 180);
/* oklch */ color: oklch(51.1% 0.139 276.9);
Tailwind
colors: {
  custom: {
    50: '#8b89cb',
    500: '#545bb4',
    950: '#000000',
  },
}
SCSS
$custom: #545bb4;
$custom-light: #8b89cb;
$custom-dark: #000000;
JSON
{
  "hex": "#545bb4",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 180
  },
  "hsl": {
    "h": 235.625,
    "s": 39.024,
    "l": 51.765
  },
  "oklch": {
    "l": 0.511,
    "c": 0.13877,
    "h": 276.9
  },
  "luminance": 0.12662
}

Semantic roles & 50–950 ramp

primary
#545BB4
secondary
#C7C49D
accent
#C659CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #545BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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