#545CB9#545CB9

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

Color values

HEX#545CB9
RGBrgb(84, 92, 185)
HSLhsl(235, 42%, 53%)
HSVhsv(235, 55%, 73%)
CMYKcmyk(54.6%, 50.3%, 0%, 27.5%)
CIE-LABlab(42.82, 23.88, -50.32)
CIE-LCHlch(42.82, 55.70, 295.39°)
OKLaboklab(51.64% 0.0161 -0.1436)
OKLCHoklch(51.64% 0.145 276.4)
XYZxyz(16.2375, 13.0408, 47.5510)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CB9 #B9B154
analogous
#548EB9 #545CB9 #7F54B9
triadic
#545CB9 #B9545C #5CB954
tetradic
#545CB9 #B9548E #B9B154 #54B97F
square
#545CB9 #B9548E #B9B154 #54B97F
split-complementary
#545CB9 #B97F54 #8EB954
monochromatic
#2B2F68 #3C4393 #545CB9 #7F85CB #ABAFDD

Accessibility & contrast

On white

5.82
#545CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#545CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CB9
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CB9#FFFFFF#000000##FFFFFF
##545CB91.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D69BC
Deuteranopia (green-blind)
#2061B7
Tritanopia (blue-blind)
#227182
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #545cb9;
/* rgb */ color: rgb(84, 92, 185);
/* oklch */ color: oklch(51.6% 0.145 276.4);
Tailwind
colors: {
  custom: {
    50: '#8c8acf',
    500: '#545cb9',
    950: '#000000',
  },
}
SCSS
$custom: #545cb9;
$custom-light: #8c8acf;
$custom-dark: #000000;
JSON
{
  "hex": "#545cb9",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 185
  },
  "hsl": {
    "h": 235.248,
    "s": 41.909,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51636,
    "c": 0.14453,
    "h": 276.4
  },
  "luminance": 0.13042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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