#545E98#545E98

#545E98 is a mid, moderate blue. Relative luminance 0.122; OKLCH L 50.0% C 0.093 H 275.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#545E98
RGBrgb(84, 94, 152)
HSLhsl(231, 29%, 46%)
HSVhsv(231, 45%, 60%)
CMYKcmyk(44.7%, 38.2%, 0%, 40.4%)
CIE-LABlab(41.46, 12.05, -32.98)
CIE-LCHlch(41.46, 35.11, 290.07°)
OKLaboklab(49.98% 0.0083 -0.0928)
OKLCHoklch(49.98% 0.093 275.1)
XYZxyz(13.3246, 12.1565, 31.3440)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545E98 #988E54
analogous
#548098 #545E98 #6C5498
triadic
#545E98 #98545E #5E9854
tetradic
#545E98 #985480 #988E54 #54986C
square
#545E98 #985480 #988E54 #54986C
split-complementary
#545E98 #986C54 #809854
monochromatic
#282D49 #3E4671 #545E98 #767FB3 #9DA4C9

Accessibility & contrast

On white

6.12
#545E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #545E98
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545E98#FFFFFF#000000##FFFFFF
##545E981.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49659A
Deuteranopia (green-blind)
#445F97
Tritanopia (blue-blind)
#3D6A74
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #545e98;
/* rgb */ color: rgb(84, 94, 152);
/* oklch */ color: oklch(50.0% 0.093 275.1);
Tailwind
colors: {
  custom: {
    50: '#878bb6',
    500: '#545e98',
    950: '#000000',
  },
}
SCSS
$custom: #545e98;
$custom-light: #878bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#545e98",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 152
  },
  "hsl": {
    "h": 231.176,
    "s": 28.814,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49983,
    "c": 0.09321,
    "h": 275.1
  },
  "luminance": 0.12157
}

Semantic roles & 50–950 ramp

primary
#545E98
secondary
#B6B192
accent
#B763C5
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0C11
muted
#7D7D80

Preview Lab

Preview with #545E98

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

Preview Lab → · Contrast checker → · Palette generator →

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