#545182#545182

#545182 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 46.0% C 0.079 H 285.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#545182
RGBrgb(84, 81, 130)
HSLhsl(244, 23%, 41%)
HSVhsv(244, 38%, 51%)
CMYKcmyk(35.4%, 37.7%, 0%, 49%)
CIE-LABlab(36.71, 13.69, -27.13)
CIE-LCHlch(36.71, 30.39, 296.77°)
OKLaboklab(45.97% 0.0213 -0.0759)
OKLCHoklch(45.97% 0.079 285.7)
XYZxyz(10.6268, 9.3811, 22.3656)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545182 #7F8251
analogous
#516782 #545182 #6D5182
triadic
#545182 #825451 #518254
tetradic
#545182 #825167 #7F8251 #51826D
square
#545182 #825167 #7F8251 #51826D
split-complementary
#545182 #826D51 #678251
monochromatic
#232237 #3C3A5C #545182 #706CA4 #9592BB

Accessibility & contrast

On white

7.30
#545182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#545182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545182
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545182#FFFFFF#000000##FFFFFF
##5451821.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425884
Deuteranopia (green-blind)
#415581
Tritanopia (blue-blind)
#485A63
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545182;
/* rgb */ color: rgb(84, 81, 130);
/* oklch */ color: oklch(46.0% 0.079 285.7);
Tailwind
colors: {
  custom: {
    50: '#8681a6',
    500: '#545182',
    950: '#000000',
  },
}
SCSS
$custom: #545182;
$custom-light: #8681a6;
$custom-dark: #000000;
JSON
{
  "hex": "#545182",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 130
  },
  "hsl": {
    "h": 243.673,
    "s": 23.223,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45965,
    "c": 0.0788,
    "h": 285.7
  },
  "luminance": 0.09381
}

Semantic roles & 50–950 ramp

primary
#545182
secondary
#A6A887
accent
#C068BA
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A0F
muted
#7C7C7F

Preview Lab

Preview with #545182

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

Preview Lab → · Contrast checker → · Palette generator →

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