#545795#545795

#545795 is a mid, moderate blue. Relative luminance 0.109; OKLCH L 48.3% C 0.099 H 279.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#545795
RGBrgb(84, 87, 149)
HSLhsl(237, 28%, 46%)
HSVhsv(237, 44%, 58%)
CMYKcmyk(43.6%, 41.6%, 0%, 41.6%)
CIE-LABlab(39.36, 15.56, -34.50)
CIE-LCHlch(39.36, 37.85, 294.27°)
OKLaboklab(48.32% 0.017 -0.0973)
OKLCHoklch(48.32% 0.099 279.9)
XYZxyz(12.4876, 10.8706, 29.8682)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545795 #959254
analogous
#547795 #545795 #715495
triadic
#545795 #955457 #579554
tetradic
#545795 #955477 #959254 #549571
square
#545795 #955477 #959254 #549571
split-complementary
#545795 #957154 #779554
monochromatic
#282947 #3E406E #545795 #7578B1 #9C9EC7

Accessibility & contrast

On white

6.62
#545795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#545795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545795
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545795#FFFFFF#000000##FFFFFF
##5457951.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415F97
Deuteranopia (green-blind)
#3D5A94
Tritanopia (blue-blind)
#3F646F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #545795;
/* rgb */ color: rgb(84, 87, 149);
/* oklch */ color: oklch(48.3% 0.099 279.9);
Tailwind
colors: {
  custom: {
    50: '#8786b4',
    500: '#545795',
    950: '#000000',
  },
}
SCSS
$custom: #545795;
$custom-light: #8786b4;
$custom-dark: #000000;
JSON
{
  "hex": "#545795",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 149
  },
  "hsl": {
    "h": 237.231,
    "s": 27.897,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4832,
    "c": 0.09877,
    "h": 279.9
  },
  "luminance": 0.10871
}

Semantic roles & 50–950 ramp

primary
#545795
secondary
#B4B390
accent
#C064C4
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #545795

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

Preview Lab → · Contrast checker → · Palette generator →

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