#545CBE#545CBE

#545CBE is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.0% C 0.152 H 276.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#545CBE
RGBrgb(84, 92, 190)
HSLhsl(235, 45%, 54%)
HSVhsv(235, 56%, 75%)
CMYKcmyk(55.8%, 51.6%, 0%, 25.5%)
CIE-LABlab(43.15, 25.52, -52.71)
CIE-LCHlch(43.15, 58.57, 295.83°)
OKLaboklab(51.98% 0.0165 -0.1507)
OKLCHoklch(51.98% 0.152 276.3)
XYZxyz(16.7746, 13.2557, 50.3799)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CBE #BEB654
analogous
#5491BE #545CBE #8154BE
triadic
#545CBE #BE545C #5CBE54
tetradic
#545CBE #BE5491 #BEB654 #54BE81
square
#545CBE #BE5491 #BEB654 #54BE81
split-complementary
#545CBE #BE8154 #91BE54
monochromatic
#2A2F6E #3B429A #545CBE #8086CF #ADB1E0

Accessibility & contrast

On white

5.75
#545CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#545CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CBE
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CBE#FFFFFF#000000##FFFFFF
##545CBE1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276AC1
Deuteranopia (green-blind)
#1562BC
Tritanopia (blue-blind)
#1B7284
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #545cbe;
/* rgb */ color: rgb(84, 92, 190);
/* oklch */ color: oklch(52.0% 0.152 276.3);
Tailwind
colors: {
  custom: {
    50: '#8d8ad2',
    500: '#545cbe',
    950: '#000000',
  },
}
SCSS
$custom: #545cbe;
$custom-light: #8d8ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#545cbe",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 190
  },
  "hsl": {
    "h": 235.472,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51981,
    "c": 0.15158,
    "h": 276.3
  },
  "luminance": 0.13257
}

Semantic roles & 50–950 ramp

primary
#545CBE
secondary
#CECAA0
accent
#CB53D5
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #545CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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