#545892#545892

#545892 is a mid, moderate blue. Relative luminance 0.109; OKLCH L 48.4% C 0.093 H 279.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#545892
RGBrgb(84, 88, 146)
HSLhsl(236, 27%, 45%)
HSVhsv(236, 42%, 57%)
CMYKcmyk(42.5%, 39.7%, 0%, 42.7%)
CIE-LABlab(39.48, 14.00, -32.51)
CIE-LCHlch(39.48, 35.40, 293.30°)
OKLaboklab(48.36% 0.015 -0.0915)
OKLCHoklch(48.36% 0.093 279.3)
XYZxyz(12.3327, 10.9390, 28.6502)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545892 #928E54
analogous
#547792 #545892 #6F5492
triadic
#545892 #925458 #589254
tetradic
#545892 #925477 #928E54 #54926F
square
#545892 #925477 #928E54 #54926F
split-complementary
#545892 #926F54 #779254
monochromatic
#272944 #3E416B #545892 #7478AF #9B9EC5

Accessibility & contrast

On white

6.59
#545892 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#545892 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545892
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545892#FFFFFF#000000##FFFFFF
##5458921.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445F94
Deuteranopia (green-blind)
#405B91
Tritanopia (blue-blind)
#41646E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #545892;
/* rgb */ color: rgb(84, 88, 146);
/* oklch */ color: oklch(48.4% 0.093 279.3);
Tailwind
colors: {
  custom: {
    50: '#8787b2',
    500: '#545892',
    950: '#000000',
  },
}
SCSS
$custom: #545892;
$custom-light: #8787b2;
$custom-dark: #000000;
JSON
{
  "hex": "#545892",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 146
  },
  "hsl": {
    "h": 236.129,
    "s": 26.957,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48356,
    "c": 0.09271,
    "h": 279.3
  },
  "luminance": 0.1094
}

Semantic roles & 50–950 ramp

primary
#545892
secondary
#B3B08F
accent
#BD64C3
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #545892

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

Preview Lab → · Contrast checker → · Palette generator →

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