#545CBB#545CBB

#545CBB is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.8% C 0.147 H 276.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#545CBB
RGBrgb(84, 92, 187)
HSLhsl(235, 43%, 53%)
HSVhsv(235, 55%, 73%)
CMYKcmyk(55.1%, 50.8%, 0%, 26.7%)
CIE-LABlab(42.95, 24.54, -51.28)
CIE-LCHlch(42.95, 56.85, 295.57°)
OKLaboklab(51.77% 0.0163 -0.1465)
OKLCHoklch(51.77% 0.147 276.3)
XYZxyz(16.4501, 13.1259, 48.6708)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CBB #BBB354
analogous
#548FBB #545CBB #7F54BB
triadic
#545CBB #BB545C #5CBB54
tetradic
#545CBB #BB548F #BBB354 #54BB7F
square
#545CBB #BB548F #BBB354 #54BB7F
split-complementary
#545CBB #BB7F54 #8FBB54
monochromatic
#2A2F6A #3C4396 #545CBB #8086CC #ACAFDE

Accessibility & contrast

On white

5.79
#545CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#545CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CBB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CBB#FFFFFF#000000##FFFFFF
##545CBB1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6ABE
Deuteranopia (green-blind)
#1C61B9
Tritanopia (blue-blind)
#207183
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #545cbb;
/* rgb */ color: rgb(84, 92, 187);
/* oklch */ color: oklch(51.8% 0.147 276.3);
Tailwind
colors: {
  custom: {
    50: '#8c8ad0',
    500: '#545cbb',
    950: '#000000',
  },
}
SCSS
$custom: #545cbb;
$custom-light: #8c8ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#545cbb",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 187
  },
  "hsl": {
    "h": 235.34,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51773,
    "c": 0.14736,
    "h": 276.3
  },
  "luminance": 0.13127
}

Semantic roles & 50–950 ramp

primary
#545CBB
secondary
#CCC89F
accent
#C955D3
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #545CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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