#545995#545995

#545995 is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.7% C 0.096 H 278.6°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#545995
RGBrgb(84, 89, 149)
HSLhsl(235, 28%, 46%)
HSVhsv(235, 44%, 58%)
CMYKcmyk(43.6%, 40.3%, 0%, 41.6%)
CIE-LABlab(39.91, 14.29, -33.63)
CIE-LCHlch(39.91, 36.54, 293.02°)
OKLaboklab(48.74% 0.0143 -0.0947)
OKLCHoklch(48.74% 0.096 278.6)
XYZxyz(12.6517, 11.1989, 29.9229)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545995 #959054
analogous
#547995 #545995 #6F5495
triadic
#545995 #955459 #599554
tetradic
#545995 #955479 #959054 #54956F
square
#545995 #955479 #959054 #54956F
split-complementary
#545995 #956F54 #799554
monochromatic
#282A47 #3E426E #545995 #757AB1 #9C9FC7

Accessibility & contrast

On white

6.48
#545995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#545995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545995
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545995#FFFFFF#000000##FFFFFF
##5459951.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446197
Deuteranopia (green-blind)
#3F5C94
Tritanopia (blue-blind)
#3F6570
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #545995;
/* rgb */ color: rgb(84, 89, 149);
/* oklch */ color: oklch(48.7% 0.096 278.6);
Tailwind
colors: {
  custom: {
    50: '#8787b4',
    500: '#545995',
    950: '#000000',
  },
}
SCSS
$custom: #545995;
$custom-light: #8787b4;
$custom-dark: #000000;
JSON
{
  "hex": "#545995",
  "rgb": {
    "r": 84,
    "g": 89,
    "b": 149
  },
  "hsl": {
    "h": 235.385,
    "s": 27.897,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48742,
    "c": 0.09581,
    "h": 278.6
  },
  "luminance": 0.112
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545995

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

Preview Lab → · Contrast checker → · Palette generator →

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