#545CBA#545CBA

#545CBA is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.7% C 0.146 H 276.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#545CBA
RGBrgb(84, 92, 186)
HSLhsl(235, 43%, 53%)
HSVhsv(235, 55%, 73%)
CMYKcmyk(54.8%, 50.5%, 0%, 27.1%)
CIE-LABlab(42.89, 24.21, -50.80)
CIE-LCHlch(42.89, 56.27, 295.48°)
OKLaboklab(51.7% 0.0162 -0.1451)
OKLCHoklch(51.7% 0.146 276.4)
XYZxyz(16.3434, 13.0832, 48.1089)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CBA #BAB254
analogous
#548FBA #545CBA #7F54BA
triadic
#545CBA #BA545C #5CBA54
tetradic
#545CBA #BA548F #BAB254 #54BA7F
square
#545CBA #BA548F #BAB254 #54BA7F
split-complementary
#545CBA #BA7F54 #8FBA54
monochromatic
#2A2F69 #3C4395 #545CBA #8086CC #ABAFDD

Accessibility & contrast

On white

5.81
#545CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#545CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CBA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CBA#FFFFFF#000000##FFFFFF
##545CBA1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6ABD
Deuteranopia (green-blind)
#1E61B8
Tritanopia (blue-blind)
#217182
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #545cba;
/* rgb */ color: rgb(84, 92, 186);
/* oklch */ color: oklch(51.7% 0.146 276.4);
Tailwind
colors: {
  custom: {
    50: '#8c8acf',
    500: '#545cba',
    950: '#000000',
  },
}
SCSS
$custom: #545cba;
$custom-light: #8c8acf;
$custom-dark: #000000;
JSON
{
  "hex": "#545cba",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 186
  },
  "hsl": {
    "h": 235.294,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51704,
    "c": 0.14595,
    "h": 276.4
  },
  "luminance": 0.13084
}

Semantic roles & 50–950 ramp

primary
#545CBA
secondary
#CBC79F
accent
#C856D2
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #545CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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