#545BA6#545BA6

#545BA6 is a mid, moderate blue. Relative luminance 0.121; OKLCH L 50.2% C 0.118 H 277.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#545BA6
RGBrgb(84, 91, 166)
HSLhsl(235, 33%, 49%)
HSVhsv(235, 49%, 65%)
CMYKcmyk(49.4%, 45.2%, 0%, 34.9%)
CIE-LABlab(41.41, 18.36, -41.41)
CIE-LCHlch(41.41, 45.30, 293.91°)
OKLaboklab(50.19% 0.0149 -0.1175)
OKLCHoklch(50.19% 0.118 277.2)
XYZxyz(14.2780, 12.1194, 37.6559)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BA6 #A69F54
analogous
#5484A6 #545BA6 #7654A6
triadic
#545BA6 #A6545B #5BA654
tetradic
#545BA6 #A65484 #A69F54 #54A676
square
#545BA6 #A65484 #A69F54 #54A676
split-complementary
#545BA6 #A67654 #84A654
monochromatic
#2B2E55 #3F457D #545BA6 #7B81BC #A4A7D1

Accessibility & contrast

On white

6.13
#545BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#545BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BA6
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BA6#FFFFFF#000000##FFFFFF
##545BA61.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C65A9
Deuteranopia (green-blind)
#355FA4
Tritanopia (blue-blind)
#356B78
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #545ba6;
/* rgb */ color: rgb(84, 91, 166);
/* oklch */ color: oklch(50.2% 0.118 277.2);
Tailwind
colors: {
  custom: {
    50: '#8989c1',
    500: '#545ba6',
    950: '#000000',
  },
}
SCSS
$custom: #545ba6;
$custom-light: #8989c1;
$custom-dark: #000000;
JSON
{
  "hex": "#545ba6",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 166
  },
  "hsl": {
    "h": 234.878,
    "s": 32.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50188,
    "c": 0.11843,
    "h": 277.2
  },
  "luminance": 0.1212
}

Semantic roles & 50–950 ramp

primary
#545BA6
secondary
#BEBB98
accent
#C05FC9
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #545BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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