#545D91#545D91

#545D91 is a mid, moderate blue. Relative luminance 0.118; OKLCH L 49.4% C 0.084 H 275.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#545D91
RGBrgb(84, 93, 145)
HSLhsl(231, 27%, 45%)
HSVhsv(231, 42%, 57%)
CMYKcmyk(42.1%, 35.9%, 0%, 43.1%)
CIE-LABlab(40.83, 10.54, -29.78)
CIE-LCHlch(40.83, 31.59, 289.48°)
OKLaboklab(49.38% 0.0079 -0.0835)
OKLCHoklch(49.38% 0.084 275.4)
XYZxyz(12.6798, 11.7573, 28.3838)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545D91 #918854
analogous
#547B91 #545D91 #6A5491
triadic
#545D91 #91545D #5D9154
tetradic
#545D91 #91547B #918854 #54916A
square
#545D91 #91547B #918854 #54916A
split-complementary
#545D91 #916A54 #7B9154
monochromatic
#272B43 #3E446A #545D91 #747CAE #9BA1C5

Accessibility & contrast

On white

6.27
#545D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#545D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545D91
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545D91#FFFFFF#000000##FFFFFF
##545D911.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6393
Deuteranopia (green-blind)
#475E90
Tritanopia (blue-blind)
#416770
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #545d91;
/* rgb */ color: rgb(84, 93, 145);
/* oklch */ color: oklch(49.4% 0.084 275.4);
Tailwind
colors: {
  custom: {
    50: '#878ab1',
    500: '#545d91',
    950: '#000000',
  },
}
SCSS
$custom: #545d91;
$custom-light: #878ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#545d91",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 145
  },
  "hsl": {
    "h": 231.148,
    "s": 26.638,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49377,
    "c": 0.08392,
    "h": 275.4
  },
  "luminance": 0.11758
}

Semantic roles & 50–950 ramp

primary
#545D91
secondary
#B2AD8F
accent
#B565C3
background
#F8F8FA
surface
#F0F0F5
border
#CBCBCF
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #545D91

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

Preview Lab → · Contrast checker → · Palette generator →

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