#545293#545293

#545293 is a mid, moderate blue. Relative luminance 0.100; OKLCH L 47.2% C 0.103 H 283.1°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#545293
RGBrgb(84, 82, 147)
HSLhsl(242, 28%, 45%)
HSVhsv(242, 44%, 58%)
CMYKcmyk(42.9%, 44.2%, 0%, 42.4%)
CIE-LABlab(37.89, 18.13, -35.63)
CIE-LCHlch(37.89, 39.97, 296.97°)
OKLaboklab(47.16% 0.0234 -0.1006)
OKLCHoklch(47.16% 0.103 283.1)
XYZxyz(11.9384, 10.0255, 28.9042)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545293 #919352
analogous
#527193 #545293 #745293
triadic
#545293 #935452 #529354
tetradic
#545293 #935271 #919352 #529374
square
#545293 #935271 #919352 #529374
split-complementary
#545293 #937452 #719352
monochromatic
#272644 #3E3C6C #545293 #7472B0 #9B99C6

Accessibility & contrast

On white

6.99
#545293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#545293 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545293
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545293#FFFFFF#000000##FFFFFF
##5452931.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5B95
Deuteranopia (green-blind)
#375791
Tritanopia (blue-blind)
#415F6B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #545293;
/* rgb */ color: rgb(84, 82, 147);
/* oklch */ color: oklch(47.2% 0.103 283.1);
Tailwind
colors: {
  custom: {
    50: '#8782b3',
    500: '#545293',
    950: '#000000',
  },
}
SCSS
$custom: #545293;
$custom-light: #8782b3;
$custom-dark: #000000;
JSON
{
  "hex": "#545293",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 147
  },
  "hsl": {
    "h": 241.846,
    "s": 28.384,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47161,
    "c": 0.10329,
    "h": 283.1
  },
  "luminance": 0.10026
}

Semantic roles & 50–950 ramp

primary
#545293
secondary
#B2B38E
accent
#C563C2
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #545293

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

Preview Lab → · Contrast checker → · Palette generator →

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