#545895#545895

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

Color values

HEX#545895
RGBrgb(84, 88, 149)
HSLhsl(236, 28%, 46%)
HSVhsv(236, 44%, 58%)
CMYKcmyk(43.6%, 40.9%, 0%, 41.6%)
CIE-LABlab(39.64, 14.92, -34.06)
CIE-LCHlch(39.64, 37.19, 293.66°)
OKLaboklab(48.53% 0.0157 -0.096)
OKLCHoklch(48.53% 0.097 279.3)
XYZxyz(12.5691, 11.0336, 29.8954)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545895 #959154
analogous
#547895 #545895 #705495
triadic
#545895 #955458 #589554
tetradic
#545895 #955478 #959154 #549570
square
#545895 #955478 #959154 #549570
split-complementary
#545895 #957054 #789554
monochromatic
#282A47 #3E416E #545895 #7579B1 #9C9FC7

Accessibility & contrast

On white

6.55
#545895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#545895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545895
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545895#FFFFFF#000000##FFFFFF
##5458951.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426097
Deuteranopia (green-blind)
#3E5B94
Tritanopia (blue-blind)
#3F646F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #545895;
/* rgb */ color: rgb(84, 88, 149);
/* oklch */ color: oklch(48.5% 0.097 279.3);
Tailwind
colors: {
  custom: {
    50: '#8787b4',
    500: '#545895',
    950: '#000000',
  },
}
SCSS
$custom: #545895;
$custom-light: #8787b4;
$custom-dark: #000000;
JSON
{
  "hex": "#545895",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 149
  },
  "hsl": {
    "h": 236.308,
    "s": 27.897,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4853,
    "c": 0.09729,
    "h": 279.3
  },
  "luminance": 0.11034
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545895

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

Preview Lab → · Contrast checker → · Palette generator →

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