#545F97#545F97

#545F97 is a mid, moderate blue. Relative luminance 0.123; OKLCH L 50.1% C 0.090 H 274.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#545F97
RGBrgb(84, 95, 151)
HSLhsl(230, 29%, 46%)
HSVhsv(230, 44%, 59%)
CMYKcmyk(44.4%, 37.1%, 0%, 40.8%)
CIE-LABlab(41.69, 11.11, -32.02)
CIE-LCHlch(41.69, 33.90, 289.14°)
OKLaboklab(50.14% 0.0067 -0.09)
OKLCHoklch(50.14% 0.09 274.3)
XYZxyz(13.3326, 12.3029, 30.9443)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545F97 #978C54
analogous
#548097 #545F97 #6A5497
triadic
#545F97 #97545F #5F9754
tetradic
#545F97 #975480 #978C54 #54976A
square
#545F97 #975480 #978C54 #54976A
split-complementary
#545F97 #976A54 #809754
monochromatic
#282E48 #3E4670 #545F97 #7680B3 #9DA4C8

Accessibility & contrast

On white

6.07
#545F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#545F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545F97
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545F97#FFFFFF#000000##FFFFFF
##545F971.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6599
Deuteranopia (green-blind)
#466096
Tritanopia (blue-blind)
#3D6A74
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #545f97;
/* rgb */ color: rgb(84, 95, 151);
/* oklch */ color: oklch(50.1% 0.090 274.3);
Tailwind
colors: {
  custom: {
    50: '#878cb6',
    500: '#545f97',
    950: '#000000',
  },
}
SCSS
$custom: #545f97;
$custom-light: #878cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#545f97",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 230.149,
    "s": 28.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50143,
    "c": 0.09029,
    "h": 274.3
  },
  "luminance": 0.12304
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545F97

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

Preview Lab → · Contrast checker → · Palette generator →

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