#545A91#545A91

#545A91 is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.7% C 0.088 H 277.8°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#545A91
RGBrgb(84, 90, 145)
HSLhsl(234, 27%, 45%)
HSVhsv(234, 42%, 57%)
CMYKcmyk(42.1%, 37.9%, 0%, 43.1%)
CIE-LABlab(39.98, 12.43, -31.11)
CIE-LCHlch(39.98, 33.50, 291.78°)
OKLaboklab(48.73% 0.0121 -0.0874)
OKLCHoklch(48.73% 0.088 277.8)
XYZxyz(12.4216, 11.2409, 28.2978)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A91 #918B54
analogous
#547991 #545A91 #6C5491
triadic
#545A91 #91545A #5A9154
tetradic
#545A91 #915479 #918B54 #54916C
square
#545A91 #915479 #918B54 #54916C
split-complementary
#545A91 #916C54 #799154
monochromatic
#272A43 #3E426A #545A91 #747AAE #9B9FC5

Accessibility & contrast

On white

6.47
#545A91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#545A91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545A91
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A91#FFFFFF#000000##FFFFFF
##545A911.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476193
Deuteranopia (green-blind)
#435C90
Tritanopia (blue-blind)
#41656E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #545a91;
/* rgb */ color: rgb(84, 90, 145);
/* oklch */ color: oklch(48.7% 0.088 277.8);
Tailwind
colors: {
  custom: {
    50: '#8788b1',
    500: '#545a91',
    950: '#000000',
  },
}
SCSS
$custom: #545a91;
$custom-light: #8788b1;
$custom-dark: #000000;
JSON
{
  "hex": "#545a91",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 145
  },
  "hsl": {
    "h": 234.098,
    "s": 26.638,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48727,
    "c": 0.08824,
    "h": 277.8
  },
  "luminance": 0.11241
}

Semantic roles & 50–950 ramp

primary
#545A91
secondary
#B2AF8F
accent
#BA65C3
background
#F8F8FA
surface
#F0EFF5
border
#CBCACF
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #545A91

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

Preview Lab → · Contrast checker → · Palette generator →

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