#545181#545181

#545181 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.9% C 0.077 H 285.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#545181
RGBrgb(84, 81, 129)
HSLhsl(244, 23%, 41%)
HSVhsv(244, 37%, 51%)
CMYKcmyk(34.9%, 37.2%, 0%, 49.4%)
CIE-LABlab(36.66, 13.40, -26.59)
CIE-LCHlch(36.66, 29.78, 296.73°)
OKLaboklab(45.91% 0.021 -0.0743)
OKLCHoklch(45.91% 0.077 285.8)
XYZxyz(10.5600, 9.3544, 22.0138)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545181 #7E8151
analogous
#516681 #545181 #6C5181
triadic
#545181 #815451 #518154
tetradic
#545181 #815166 #7E8151 #51816C
square
#545181 #815166 #7E8151 #51816C
split-complementary
#545181 #816C51 #668151
monochromatic
#232236 #3C395B #545181 #706CA3 #9492BA

Accessibility & contrast

On white

7.31
#545181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#545181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545181
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545181#FFFFFF#000000##FFFFFF
##5451811.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425883
Deuteranopia (green-blind)
#415580
Tritanopia (blue-blind)
#495A63
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545181;
/* rgb */ color: rgb(84, 81, 129);
/* oklch */ color: oklch(45.9% 0.077 285.8);
Tailwind
colors: {
  custom: {
    50: '#8681a6',
    500: '#545181',
    950: '#000000',
  },
}
SCSS
$custom: #545181;
$custom-light: #8681a6;
$custom-dark: #000000;
JSON
{
  "hex": "#545181",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 243.75,
    "s": 22.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4591,
    "c": 0.07724,
    "h": 285.8
  },
  "luminance": 0.09355
}

Semantic roles & 50–950 ramp

primary
#545181
secondary
#A5A886
accent
#BF68BA
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A0F
muted
#7C7C7F

Preview Lab

Preview with #545181

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

Preview Lab → · Contrast checker → · Palette generator →

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