#545BB9#545BB9

#545BB9 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.4% C 0.146 H 276.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#545BB9
RGBrgb(84, 91, 185)
HSLhsl(236, 42%, 53%)
HSVhsv(236, 55%, 73%)
CMYKcmyk(54.6%, 50.8%, 0%, 27.5%)
CIE-LABlab(42.56, 24.51, -50.73)
CIE-LCHlch(42.56, 56.35, 295.79°)
OKLaboklab(51.44% 0.0172 -0.1449)
OKLCHoklch(51.44% 0.146 276.8)
XYZxyz(16.1514, 12.8687, 47.5223)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BB9 #B9B254
analogous
#548DB9 #545BB9 #8054B9
triadic
#545BB9 #B9545B #5BB954
tetradic
#545BB9 #B9548D #B9B254 #54B980
square
#545BB9 #B9548D #B9B254 #54B980
split-complementary
#545BB9 #B98054 #8DB954
monochromatic
#2B2F68 #3C4293 #545BB9 #7F85CB #ABAEDD

Accessibility & contrast

On white

5.88
#545BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#545BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BB9
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BB9#FFFFFF#000000##FFFFFF
##545BB91.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B69BC
Deuteranopia (green-blind)
#1D60B7
Tritanopia (blue-blind)
#237081
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #545bb9;
/* rgb */ color: rgb(84, 91, 185);
/* oklch */ color: oklch(51.4% 0.146 276.8);
Tailwind
colors: {
  custom: {
    50: '#8c89cf',
    500: '#545bb9',
    950: '#000000',
  },
}
SCSS
$custom: #545bb9;
$custom-light: #8c89cf;
$custom-dark: #000000;
JSON
{
  "hex": "#545bb9",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 185
  },
  "hsl": {
    "h": 235.842,
    "s": 41.909,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5144,
    "c": 0.14589,
    "h": 276.8
  },
  "luminance": 0.1287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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