#545CB5#545CB5

#545CB5 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.4% C 0.139 H 276.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#545CB5
RGBrgb(84, 92, 181)
HSLhsl(235, 40%, 52%)
HSVhsv(235, 54%, 71%)
CMYKcmyk(53.6%, 49.2%, 0%, 29%)
CIE-LABlab(42.57, 22.57, -48.38)
CIE-LCHlch(42.57, 53.39, 295.01°)
OKLaboklab(51.37% 0.0157 -0.1379)
OKLCHoklch(51.37% 0.139 276.5)
XYZxyz(15.8211, 12.8743, 45.3584)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CB5 #B5AD54
analogous
#548CB5 #545CB5 #7D54B5
triadic
#545CB5 #B5545C #5CB554
tetradic
#545CB5 #B5548C #B5AD54 #54B57D
square
#545CB5 #B5548C #B5AD54 #54B57D
split-complementary
#545CB5 #B57D54 #8CB554
monochromatic
#2B3064 #3E448E #545CB5 #7F85C7 #A9ADDA

Accessibility & contrast

On white

5.87
#545CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#545CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CB5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CB5#FFFFFF#000000##FFFFFF
##545CB51.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3269B8
Deuteranopia (green-blind)
#2661B3
Tritanopia (blue-blind)
#277080
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #545cb5;
/* rgb */ color: rgb(84, 92, 181);
/* oklch */ color: oklch(51.4% 0.139 276.5);
Tailwind
colors: {
  custom: {
    50: '#8b8acc',
    500: '#545cb5',
    950: '#000000',
  },
}
SCSS
$custom: #545cb5;
$custom-light: #8b8acc;
$custom-dark: #000000;
JSON
{
  "hex": "#545cb5",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 181
  },
  "hsl": {
    "h": 235.052,
    "s": 39.592,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51365,
    "c": 0.13883,
    "h": 276.5
  },
  "luminance": 0.12875
}

Semantic roles & 50–950 ramp

primary
#545CB5
secondary
#C8C49D
accent
#C658CF
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B13
muted
#7D7C82

Preview Lab

Preview with #545CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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