#545581#545581

#545581 is a mid, moderate blue. Relative luminance 0.100; OKLCH L 46.8% C 0.071 H 282.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#545581
RGBrgb(84, 85, 129)
HSLhsl(239, 21%, 42%)
HSVhsv(239, 35%, 51%)
CMYKcmyk(34.9%, 34.1%, 0%, 49.4%)
CIE-LABlab(37.78, 10.85, -24.84)
CIE-LCHlch(37.78, 27.10, 293.60°)
OKLaboklab(46.77% 0.0151 -0.0693)
OKLCHoklch(46.77% 0.071 282.3)
XYZxyz(10.8660, 9.9665, 22.1158)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545581 #818054
analogous
#546C81 #545581 #6A5481
triadic
#545581 #815455 #558154
tetradic
#545581 #81546C #818054 #54816A
square
#545581 #81546C #818054 #54816A
split-complementary
#545581 #816A54 #6C8154
monochromatic
#242437 #3C3D5C #545581 #7071A2 #9596BA

Accessibility & contrast

On white

7.02
#545581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#545581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545581
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545581#FFFFFF#000000##FFFFFF
##5455811.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485A83
Deuteranopia (green-blind)
#465780
Tritanopia (blue-blind)
#485D65
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #545581;
/* rgb */ color: rgb(84, 85, 129);
/* oklch */ color: oklch(46.8% 0.071 282.3);
Tailwind
colors: {
  custom: {
    50: '#8584a5',
    500: '#545581',
    950: '#000000',
  },
}
SCSS
$custom: #545581;
$custom-light: #8584a5;
$custom-dark: #000000;
JSON
{
  "hex": "#545581",
  "rgb": {
    "r": 84,
    "g": 85,
    "b": 129
  },
  "hsl": {
    "h": 238.667,
    "s": 21.127,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46774,
    "c": 0.07088,
    "h": 282.3
  },
  "luminance": 0.09967
}

Semantic roles & 50–950 ramp

primary
#545581
secondary
#A8A789
accent
#BC6ABE
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B0F
muted
#7C7C7F

Preview Lab

Preview with #545581

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

Preview Lab → · Contrast checker → · Palette generator →

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