#545E97#545E97

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

Color values

HEX#545E97
RGBrgb(84, 94, 151)
HSLhsl(231, 29%, 46%)
HSVhsv(231, 44%, 59%)
CMYKcmyk(44.4%, 37.7%, 0%, 40.8%)
CIE-LABlab(41.41, 11.74, -32.46)
CIE-LCHlch(41.41, 34.52, 289.89°)
OKLaboklab(49.93% 0.008 -0.0913)
OKLCHoklch(49.93% 0.092 275)
XYZxyz(13.2431, 12.1239, 30.9145)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545E97 #978D54
analogous
#547F97 #545E97 #6B5497
triadic
#545E97 #97545E #5E9754
tetradic
#545E97 #97547F #978D54 #54976B
square
#545E97 #97547F #978D54 #54976B
split-complementary
#545E97 #976B54 #7F9754
monochromatic
#282D48 #3E4670 #545E97 #767FB3 #9DA3C8

Accessibility & contrast

On white

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

On black

3.43
#545E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##545E97#FFFFFF#000000##FFFFFF
##545E971.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6599
Deuteranopia (green-blind)
#445F96
Tritanopia (blue-blind)
#3D6A73
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #545e97;
/* rgb */ color: rgb(84, 94, 151);
/* oklch */ color: oklch(49.9% 0.092 275.0);
Tailwind
colors: {
  custom: {
    50: '#878bb6',
    500: '#545e97',
    950: '#000000',
  },
}
SCSS
$custom: #545e97;
$custom-light: #878bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#545e97",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 151
  },
  "hsl": {
    "h": 231.045,
    "s": 28.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49927,
    "c": 0.09169,
    "h": 275
  },
  "luminance": 0.12125
}

Semantic roles & 50–950 ramp

primary
#545E97
secondary
#B6B091
accent
#B663C5
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #545E97

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

Preview Lab → · Contrast checker → · Palette generator →

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