#545183#545183

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

Color values

HEX#545183
RGBrgb(84, 81, 131)
HSLhsl(244, 24%, 42%)
HSVhsv(244, 38%, 51%)
CMYKcmyk(35.9%, 38.2%, 0%, 48.6%)
CIE-LABlab(36.76, 13.98, -27.66)
CIE-LCHlch(36.76, 30.99, 296.80°)
OKLaboklab(46.02% 0.0215 -0.0774)
OKLCHoklch(46.02% 0.08 285.5)
XYZxyz(10.6942, 9.4081, 22.7208)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545183 #808351
analogous
#516783 #545183 #6D5183
triadic
#545183 #835451 #518354
tetradic
#545183 #835167 #808351 #51836D
square
#545183 #835167 #808351 #51836D
split-complementary
#545183 #836D51 #678351
monochromatic
#242237 #3C3A5D #545183 #706DA5 #9592BC

Accessibility & contrast

On white

7.29
#545183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #545183
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545183#FFFFFF#000000##FFFFFF
##5451831.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415885
Deuteranopia (green-blind)
#405582
Tritanopia (blue-blind)
#485A64
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545183;
/* rgb */ color: rgb(84, 81, 131);
/* oklch */ color: oklch(46.0% 0.080 285.5);
Tailwind
colors: {
  custom: {
    50: '#8681a7',
    500: '#545183',
    950: '#000000',
  },
}
SCSS
$custom: #545183;
$custom-light: #8681a7;
$custom-dark: #000000;
JSON
{
  "hex": "#545183",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 131
  },
  "hsl": {
    "h": 243.6,
    "s": 23.585,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4602,
    "c": 0.08036,
    "h": 285.5
  },
  "luminance": 0.09408
}

Semantic roles & 50–950 ramp

primary
#545183
secondary
#A7A987
accent
#C068BB
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A0F
muted
#7C7C7F

Preview Lab

Preview with #545183

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

Preview Lab → · Contrast checker → · Palette generator →

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