#545274#545274

#545274 is a mid, muted blue. Relative luminance 0.092; OKLCH L 45.5% C 0.055 H 286.7°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#545274
RGBrgb(84, 82, 116)
HSLhsl(244, 17%, 39%)
HSVhsv(244, 29%, 45%)
CMYKcmyk(27.6%, 29.3%, 0%, 54.5%)
CIE-LABlab(36.33, 9.10, -19.08)
CIE-LCHlch(36.33, 21.14, 295.50°)
OKLaboklab(45.46% 0.0158 -0.0527)
OKLCHoklch(45.46% 0.055 286.7)
XYZxyz(9.8250, 9.1802, 17.7739)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545274 #727452
analogous
#526174 #545274 #655274
triadic
#545274 #745452 #527454
tetradic
#545274 #745261 #727452 #527465
square
#545274 #745261 #727452 #527465
split-complementary
#545274 #746552 #617452
monochromatic
#201F2C #3A3950 #545274 #6F6C97 #9290B0

Accessibility & contrast

On white

7.40
#545274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#545274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545274
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545274#FFFFFF#000000##FFFFFF
##5452741.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495675
Deuteranopia (green-blind)
#485573
Tritanopia (blue-blind)
#4D585E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #545274;
/* rgb */ color: rgb(84, 82, 116);
/* oklch */ color: oklch(45.5% 0.055 286.7);
Tailwind
colors: {
  custom: {
    50: '#85829c',
    500: '#545274',
    950: '#000000',
  },
}
SCSS
$custom: #545274;
$custom-light: #85829c;
$custom-dark: #000000;
JSON
{
  "hex": "#545274",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 116
  },
  "hsl": {
    "h": 243.529,
    "s": 17.172,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45456,
    "c": 0.05506,
    "h": 286.7
  },
  "luminance": 0.0918
}

Semantic roles & 50–950 ramp

primary
#545274
secondary
#9D9E84
accent
#BA6EB5
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0B0A0E
muted
#7C7C7E

Preview Lab

Preview with #545274

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

Preview Lab → · Contrast checker → · Palette generator →

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