#545BA9#545BA9

#545BA9 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.123 H 277.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#545BA9
RGBrgb(84, 91, 169)
HSLhsl(235, 34%, 50%)
HSVhsv(235, 50%, 66%)
CMYKcmyk(50.3%, 46.2%, 0%, 33.7%)
CIE-LABlab(41.58, 19.32, -42.91)
CIE-LCHlch(41.58, 47.06, 294.24°)
OKLaboklab(50.38% 0.0153 -0.1219)
OKLCHoklch(50.38% 0.123 277.2)
XYZxyz(14.5564, 12.2307, 39.1222)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BA9 #A9A254
analogous
#5486A9 #545BA9 #7854A9
triadic
#545BA9 #A9545B #5BA954
tetradic
#545BA9 #A95486 #A9A254 #54A978
square
#545BA9 #A95486 #A9A254 #54A978
split-complementary
#545BA9 #A97854 #86A954
monochromatic
#2B2F57 #404580 #545BA9 #7C82BE #A5A9D2

Accessibility & contrast

On white

6.09
#545BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#545BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BA9
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BA9#FFFFFF#000000##FFFFFF
##545BA91.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A66AC
Deuteranopia (green-blind)
#325FA7
Tritanopia (blue-blind)
#326C7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #545ba9;
/* rgb */ color: rgb(84, 91, 169);
/* oklch */ color: oklch(50.4% 0.123 277.2);
Tailwind
colors: {
  custom: {
    50: '#8a89c3',
    500: '#545ba9',
    950: '#000000',
  },
}
SCSS
$custom: #545ba9;
$custom-light: #8a89c3;
$custom-dark: #000000;
JSON
{
  "hex": "#545ba9",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 169
  },
  "hsl": {
    "h": 235.059,
    "s": 33.597,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50378,
    "c": 0.12284,
    "h": 277.2
  },
  "luminance": 0.12232
}

Semantic roles & 50–950 ramp

primary
#545BA9
secondary
#C0BD99
accent
#C15ECA
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #545BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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