#545893#545893

#545893 is a mid, moderate blue. Relative luminance 0.110; OKLCH L 48.4% C 0.094 H 279.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#545893
RGBrgb(84, 88, 147)
HSLhsl(236, 27%, 45%)
HSVhsv(236, 43%, 58%)
CMYKcmyk(42.9%, 40.1%, 0%, 42.4%)
CIE-LABlab(39.53, 14.31, -33.03)
CIE-LCHlch(39.53, 35.99, 293.42°)
OKLaboklab(48.41% 0.0152 -0.093)
OKLCHoklch(48.41% 0.094 279.3)
XYZxyz(12.4108, 10.9703, 29.0617)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545893 #938F54
analogous
#547893 #545893 #6F5493
triadic
#545893 #935458 #589354
tetradic
#545893 #935478 #938F54 #54936F
square
#545893 #935478 #938F54 #54936F
split-complementary
#545893 #936F54 #789354
monochromatic
#272945 #3E416C #545893 #7478B0 #9B9EC6

Accessibility & contrast

On white

6.57
#545893 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#545893 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545893
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545893#FFFFFF#000000##FFFFFF
##5458931.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436095
Deuteranopia (green-blind)
#3F5B92
Tritanopia (blue-blind)
#40646E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #545893;
/* rgb */ color: rgb(84, 88, 147);
/* oklch */ color: oklch(48.4% 0.094 279.3);
Tailwind
colors: {
  custom: {
    50: '#8787b3',
    500: '#545893',
    950: '#000000',
  },
}
SCSS
$custom: #545893;
$custom-light: #8787b3;
$custom-dark: #000000;
JSON
{
  "hex": "#545893",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 147
  },
  "hsl": {
    "h": 236.19,
    "s": 27.273,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48414,
    "c": 0.09424,
    "h": 279.3
  },
  "luminance": 0.10971
}

Semantic roles & 50–950 ramp

primary
#545893
secondary
#B3B190
accent
#BE64C4
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #545893

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

Preview Lab → · Contrast checker → · Palette generator →

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