#545B98#545B98

#545B98 is a mid, moderate blue. Relative luminance 0.116; OKLCH L 49.3% C 0.097 H 277.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#545B98
RGBrgb(84, 91, 152)
HSLhsl(234, 29%, 46%)
HSVhsv(234, 45%, 60%)
CMYKcmyk(44.7%, 40.1%, 0%, 40.4%)
CIE-LABlab(40.63, 13.95, -34.30)
CIE-LCHlch(40.63, 37.03, 292.13°)
OKLaboklab(49.34% 0.0123 -0.0967)
OKLCHoklch(49.34% 0.097 277.2)
XYZxyz(13.0630, 11.6333, 31.2568)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545B98 #989154
analogous
#547D98 #545B98 #6F5498
triadic
#545B98 #98545B #5B9854
tetradic
#545B98 #98547D #989154 #54986F
square
#545B98 #98547D #989154 #54986F
split-complementary
#545B98 #986F54 #7D9854
monochromatic
#282C49 #3E4371 #545B98 #767CB3 #9DA2C9

Accessibility & contrast

On white

6.31
#545B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#545B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545B98
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545B98#FFFFFF#000000##FFFFFF
##545B981.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45639A
Deuteranopia (green-blind)
#405D97
Tritanopia (blue-blind)
#3D6772
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #545b98;
/* rgb */ color: rgb(84, 91, 152);
/* oklch */ color: oklch(49.3% 0.097 277.2);
Tailwind
colors: {
  custom: {
    50: '#8889b6',
    500: '#545b98',
    950: '#000000',
  },
}
SCSS
$custom: #545b98;
$custom-light: #8889b6;
$custom-dark: #000000;
JSON
{
  "hex": "#545b98",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 152
  },
  "hsl": {
    "h": 233.824,
    "s": 28.814,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49341,
    "c": 0.09748,
    "h": 277.2
  },
  "luminance": 0.11634
}

Semantic roles & 50–950 ramp

primary
#545B98
secondary
#B6B292
accent
#BB63C5
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #545B98

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

Preview Lab → · Contrast checker → · Palette generator →

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