#545283#545283

#545283 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.2% C 0.079 H 284.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#545283
RGBrgb(84, 82, 131)
HSLhsl(242, 23%, 42%)
HSVhsv(242, 37%, 51%)
CMYKcmyk(35.9%, 37.4%, 0%, 48.6%)
CIE-LABlab(37.04, 13.34, -27.23)
CIE-LCHlch(37.04, 30.32, 296.10°)
OKLaboklab(46.23% 0.02 -0.0762)
OKLCHoklch(46.23% 0.079 284.7)
XYZxyz(10.7691, 9.5578, 22.7458)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545283 #818352
analogous
#526983 #545283 #6D5283
triadic
#545283 #835452 #528354
tetradic
#545283 #835269 #818352 #52836D
square
#545283 #835269 #818352 #52836D
split-complementary
#545283 #836D52 #698352
monochromatic
#242338 #3C3A5D #545283 #706EA4 #9594BC

Accessibility & contrast

On white

7.21
#545283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#545283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545283
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545283#FFFFFF#000000##FFFFFF
##5452831.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435985
Deuteranopia (green-blind)
#415682
Tritanopia (blue-blind)
#485B64
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545283;
/* rgb */ color: rgb(84, 82, 131);
/* oklch */ color: oklch(46.2% 0.079 284.7);
Tailwind
colors: {
  custom: {
    50: '#8682a7',
    500: '#545283',
    950: '#000000',
  },
}
SCSS
$custom: #545283;
$custom-light: #8682a7;
$custom-dark: #000000;
JSON
{
  "hex": "#545283",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 131
  },
  "hsl": {
    "h": 242.449,
    "s": 23.005,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46233,
    "c": 0.07875,
    "h": 284.7
  },
  "luminance": 0.09558
}

Semantic roles & 50–950 ramp

primary
#545283
secondary
#A8A988
accent
#BF68BC
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A0F
muted
#7C7C7F

Preview Lab

Preview with #545283

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

Preview Lab → · Contrast checker → · Palette generator →

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