#545D94#545D94

#545D94 is a mid, moderate blue. Relative luminance 0.119; OKLCH L 49.5% C 0.089 H 275.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#545D94
RGBrgb(84, 93, 148)
HSLhsl(232, 28%, 45%)
HSVhsv(232, 43%, 58%)
CMYKcmyk(43.2%, 37.2%, 0%, 42%)
CIE-LABlab(40.98, 11.45, -31.35)
CIE-LCHlch(40.98, 33.37, 290.07°)
OKLaboklab(49.54% 0.0087 -0.0881)
OKLCHoklch(49.54% 0.089 275.6)
XYZxyz(12.9142, 11.8510, 29.6182)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545D94 #948B54
analogous
#547D94 #545D94 #6B5494
triadic
#545D94 #94545D #5D9454
tetradic
#545D94 #94547D #948B54 #54946B
square
#545D94 #94547D #948B54 #54946B
split-complementary
#545D94 #946B54 #7D9454
monochromatic
#282C46 #3E446D #545D94 #757DB1 #9CA2C7

Accessibility & contrast

On white

6.23
#545D94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#545D94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545D94
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545D94#FFFFFF#000000##FFFFFF
##545D941.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6396
Deuteranopia (green-blind)
#455E93
Tritanopia (blue-blind)
#3F6871
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #545d94;
/* rgb */ color: rgb(84, 93, 148);
/* oklch */ color: oklch(49.5% 0.089 275.6);
Tailwind
colors: {
  custom: {
    50: '#878ab3',
    500: '#545d94',
    950: '#000000',
  },
}
SCSS
$custom: #545d94;
$custom-light: #878ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#545d94",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 148
  },
  "hsl": {
    "h": 231.563,
    "s": 27.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49543,
    "c": 0.08853,
    "h": 275.6
  },
  "luminance": 0.11852
}

Semantic roles & 50–950 ramp

primary
#545D94
secondary
#B4AF90
accent
#B664C4
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #545D94

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

Preview Lab → · Contrast checker → · Palette generator →

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