#545F99#545F99

#545F99 is a mid, moderate blue. Relative luminance 0.124; OKLCH L 50.3% C 0.093 H 274.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#545F99
RGBrgb(84, 95, 153)
HSLhsl(230, 29%, 46%)
HSVhsv(230, 45%, 60%)
CMYKcmyk(45.1%, 37.9%, 0%, 40%)
CIE-LABlab(41.80, 11.73, -33.06)
CIE-LCHlch(41.80, 35.08, 289.54°)
OKLaboklab(50.26% 0.0072 -0.093)
OKLCHoklch(50.26% 0.093 274.4)
XYZxyz(13.4964, 12.3684, 31.8070)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545F99 #998E54
analogous
#548299 #545F99 #6C5499
triadic
#545F99 #99545F #5F9954
tetradic
#545F99 #995482 #998E54 #54996C
square
#545F99 #995482 #998E54 #54996C
split-complementary
#545F99 #996C54 #829954
monochromatic
#292E4A #3E4671 #545F99 #7680B4 #9EA5CA

Accessibility & contrast

On white

6.05
#545F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#545F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545F99
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545F99#FFFFFF#000000##FFFFFF
##545F991.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A669B
Deuteranopia (green-blind)
#446098
Tritanopia (blue-blind)
#3C6B75
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #545f99;
/* rgb */ color: rgb(84, 95, 153);
/* oklch */ color: oklch(50.3% 0.093 274.4);
Tailwind
colors: {
  custom: {
    50: '#888cb7',
    500: '#545f99',
    950: '#000000',
  },
}
SCSS
$custom: #545f99;
$custom-light: #888cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#545f99",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 153
  },
  "hsl": {
    "h": 230.435,
    "s": 29.114,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50255,
    "c": 0.09333,
    "h": 274.4
  },
  "luminance": 0.12369
}

Semantic roles & 50–950 ramp

primary
#545F99
secondary
#B7B192
accent
#B662C5
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0C11
muted
#7D7D80

Preview Lab

Preview with #545F99

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

Preview Lab → · Contrast checker → · Palette generator →

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