#545CB8#545CB8

#545CB8 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.6% C 0.143 H 276.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#545CB8
RGBrgb(84, 92, 184)
HSLhsl(235, 41%, 53%)
HSVhsv(235, 54%, 72%)
CMYKcmyk(54.3%, 50%, 0%, 27.8%)
CIE-LABlab(42.76, 23.55, -49.83)
CIE-LCHlch(42.76, 55.12, 295.30°)
OKLaboklab(51.57% 0.016 -0.1422)
OKLCHoklch(51.57% 0.143 276.4)
XYZxyz(16.1323, 12.9987, 46.9970)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CB8 #B8B054
analogous
#548EB8 #545CB8 #7E54B8
triadic
#545CB8 #B8545C #5CB854
tetradic
#545CB8 #B8548E #B8B054 #54B87E
square
#545CB8 #B8548E #B8B054 #54B87E
split-complementary
#545CB8 #B87E54 #8EB854
monochromatic
#2B3067 #3D4492 #545CB8 #7F85CA #AAAEDC

Accessibility & contrast

On white

5.83
#545CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#545CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CB8
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CB8#FFFFFF#000000##FFFFFF
##545CB81.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F69BB
Deuteranopia (green-blind)
#2161B6
Tritanopia (blue-blind)
#247081
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #545cb8;
/* rgb */ color: rgb(84, 92, 184);
/* oklch */ color: oklch(51.6% 0.143 276.4);
Tailwind
colors: {
  custom: {
    50: '#8c8ace',
    500: '#545cb8',
    950: '#000000',
  },
}
SCSS
$custom: #545cb8;
$custom-light: #8c8ace;
$custom-dark: #000000;
JSON
{
  "hex": "#545cb8",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 184
  },
  "hsl": {
    "h": 235.2,
    "s": 41.322,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51568,
    "c": 0.14311,
    "h": 276.4
  },
  "luminance": 0.13
}

Semantic roles & 50–950 ramp

primary
#545CB8
secondary
#CAC69E
accent
#C757D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #545CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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