#545CB0#545CB0

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

Color values

HEX#545CB0
RGBrgb(84, 92, 176)
HSLhsl(235, 37%, 51%)
HSVhsv(235, 52%, 69%)
CMYKcmyk(52.3%, 47.7%, 0%, 31%)
CIE-LABlab(42.27, 20.95, -45.94)
CIE-LCHlch(42.27, 50.49, 294.51°)
OKLaboklab(51.03% 0.0151 -0.1308)
OKLCHoklch(51.03% 0.132 276.6)
XYZxyz(15.3173, 12.6727, 42.7048)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CB0 #B0A854
analogous
#548AB0 #545CB0 #7A54B0
triadic
#545CB0 #B0545C #5CB054
tetradic
#545CB0 #B0548A #B0A854 #54B07A
square
#545CB0 #B0548A #B0A854 #54B07A
split-complementary
#545CB0 #B07A54 #8AB054
monochromatic
#2B305E #3F4588 #545CB0 #7E84C3 #A8ACD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545CB0#FFFFFF#000000##FFFFFF
##545CB01.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)
#3668B3
Deuteranopia (green-blind)
#2C60AE
Tritanopia (blue-blind)
#2C6E7D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #545cb0;
/* rgb */ color: rgb(84, 92, 176);
/* oklch */ color: oklch(51.0% 0.132 276.6);
Tailwind
colors: {
  custom: {
    50: '#8a8ac8',
    500: '#545cb0',
    950: '#000000',
  },
}
SCSS
$custom: #545cb0;
$custom-light: #8a8ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#545cb0",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 176
  },
  "hsl": {
    "h": 234.783,
    "s": 36.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51034,
    "c": 0.13164,
    "h": 276.6
  },
  "luminance": 0.12674
}

Semantic roles & 50–950 ramp

primary
#545CB0
secondary
#C4C19C
accent
#C35BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #545CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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