#545994#545994

#545994 is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.7% C 0.094 H 278.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#545994
RGBrgb(84, 89, 148)
HSLhsl(235, 28%, 45%)
HSVhsv(235, 43%, 58%)
CMYKcmyk(43.2%, 39.9%, 0%, 42%)
CIE-LABlab(39.86, 13.98, -33.11)
CIE-LCHlch(39.86, 35.94, 292.89°)
OKLaboklab(48.68% 0.0141 -0.0932)
OKLCHoklch(48.68% 0.094 278.6)
XYZxyz(12.5722, 11.1671, 29.5043)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545994 #948F54
analogous
#547994 #545994 #6F5494
triadic
#545994 #945459 #599454
tetradic
#545994 #945479 #948F54 #54946F
square
#545994 #945479 #948F54 #54946F
split-complementary
#545994 #946F54 #799454
monochromatic
#282A46 #3E426D #545994 #7579B1 #9C9FC7

Accessibility & contrast

On white

6.49
#545994 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#545994 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545994
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545994#FFFFFF#000000##FFFFFF
##5459941.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446096
Deuteranopia (green-blind)
#405C93
Tritanopia (blue-blind)
#40656F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #545994;
/* rgb */ color: rgb(84, 89, 148);
/* oklch */ color: oklch(48.7% 0.094 278.6);
Tailwind
colors: {
  custom: {
    50: '#8787b4',
    500: '#545994',
    950: '#000000',
  },
}
SCSS
$custom: #545994;
$custom-light: #8787b4;
$custom-dark: #000000;
JSON
{
  "hex": "#545994",
  "rgb": {
    "r": 84,
    "g": 89,
    "b": 148
  },
  "hsl": {
    "h": 235.313,
    "s": 27.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48684,
    "c": 0.09429,
    "h": 278.6
  },
  "luminance": 0.11168
}

Semantic roles & 50–950 ramp

primary
#545994
secondary
#B4B190
accent
#BC64C4
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #545994

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

Preview Lab → · Contrast checker → · Palette generator →

#545994 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva