#545294#545294

#545294 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 47.2% C 0.105 H 283.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#545294
RGBrgb(84, 82, 148)
HSLhsl(242, 29%, 45%)
HSVhsv(242, 45%, 58%)
CMYKcmyk(43.2%, 44.6%, 0%, 42%)
CIE-LABlab(37.94, 18.43, -36.14)
CIE-LCHlch(37.94, 40.57, 297.02°)
OKLaboklab(47.22% 0.0236 -0.1021)
OKLCHoklch(47.22% 0.105 283)
XYZxyz(12.0172, 10.0570, 29.3192)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545294 #929452
analogous
#527194 #545294 #755294
triadic
#545294 #945452 #529454
tetradic
#545294 #945271 #929452 #529475
square
#545294 #945271 #929452 #529475
split-complementary
#545294 #947552 #719452
monochromatic
#272645 #3E3C6D #545294 #7472B1 #9B9AC7

Accessibility & contrast

On white

6.97
#545294 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#545294 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545294
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545294#FFFFFF#000000##FFFFFF
##5452941.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5C96
Deuteranopia (green-blind)
#375792
Tritanopia (blue-blind)
#405F6C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #545294;
/* rgb */ color: rgb(84, 82, 148);
/* oklch */ color: oklch(47.2% 0.105 283.0);
Tailwind
colors: {
  custom: {
    50: '#8782b4',
    500: '#545294',
    950: '#000000',
  },
}
SCSS
$custom: #545294;
$custom-light: #8782b4;
$custom-dark: #000000;
JSON
{
  "hex": "#545294",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 148
  },
  "hsl": {
    "h": 241.818,
    "s": 28.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47222,
    "c": 0.10479,
    "h": 283
  },
  "luminance": 0.10058
}

Semantic roles & 50–950 ramp

primary
#545294
secondary
#B3B48E
accent
#C563C2
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #545294

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

Preview Lab → · Contrast checker → · Palette generator →

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