#545693#545693

#545693 is a mid, moderate blue. Relative luminance 0.106; OKLCH L 48.0% C 0.097 H 280.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#545693
RGBrgb(84, 86, 147)
HSLhsl(238, 27%, 45%)
HSVhsv(238, 43%, 58%)
CMYKcmyk(42.9%, 41.5%, 0%, 42.4%)
CIE-LABlab(38.98, 15.58, -33.90)
CIE-LCHlch(38.98, 37.31, 294.68°)
OKLaboklab(47.99% 0.018 -0.0955)
OKLCHoklch(47.99% 0.097 280.6)
XYZxyz(12.2489, 10.6465, 29.0077)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545693 #939154
analogous
#547593 #545693 #715493
triadic
#545693 #935456 #569354
tetradic
#545693 #935475 #939154 #549371
square
#545693 #935475 #939154 #549371
split-complementary
#545693 #937154 #759354
monochromatic
#272845 #3E3F6C #545693 #7476B0 #9B9DC6

Accessibility & contrast

On white

6.71
#545693 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#545693 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545693
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545693#FFFFFF#000000##FFFFFF
##5456931.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405E95
Deuteranopia (green-blind)
#3D5A92
Tritanopia (blue-blind)
#40626D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #545693;
/* rgb */ color: rgb(84, 86, 147);
/* oklch */ color: oklch(48.0% 0.097 280.6);
Tailwind
colors: {
  custom: {
    50: '#8785b3',
    500: '#545693',
    950: '#000000',
  },
}
SCSS
$custom: #545693;
$custom-light: #8785b3;
$custom-dark: #000000;
JSON
{
  "hex": "#545693",
  "rgb": {
    "r": 84,
    "g": 86,
    "b": 147
  },
  "hsl": {
    "h": 238.095,
    "s": 27.273,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47992,
    "c": 0.09722,
    "h": 280.6
  },
  "luminance": 0.10647
}

Semantic roles & 50–950 ramp

primary
#545693
secondary
#B3B290
accent
#C164C4
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #545693

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

Preview Lab → · Contrast checker → · Palette generator →

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