#545790#545790

#545790 is a mid, moderate blue. Relative luminance 0.107; OKLCH L 48.0% C 0.091 H 280.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#545790
RGBrgb(84, 87, 144)
HSLhsl(237, 26%, 45%)
HSVhsv(237, 42%, 56%)
CMYKcmyk(41.7%, 39.6%, 0%, 43.5%)
CIE-LABlab(39.10, 14.03, -31.90)
CIE-LCHlch(39.10, 34.85, 293.73°)
OKLaboklab(48.03% 0.016 -0.0897)
OKLCHoklch(48.03% 0.091 280.1)
XYZxyz(12.0969, 10.7143, 27.8108)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545790 #908D54
analogous
#547590 #545790 #6F5490
triadic
#545790 #905457 #579054
tetradic
#545790 #905475 #908D54 #54906F
square
#545790 #905475 #908D54 #54906F
split-complementary
#545790 #906F54 #759054
monochromatic
#272843 #3D4069 #545790 #7476AE #9A9CC4

Accessibility & contrast

On white

6.68
#545790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#545790 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545790
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545790#FFFFFF#000000##FFFFFF
##5457901.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435E92
Deuteranopia (green-blind)
#405A8F
Tritanopia (blue-blind)
#42626C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #545790;
/* rgb */ color: rgb(84, 87, 144);
/* oklch */ color: oklch(48.0% 0.091 280.1);
Tailwind
colors: {
  custom: {
    50: '#8786b1',
    500: '#545790',
    950: '#000000',
  },
}
SCSS
$custom: #545790;
$custom-light: #8786b1;
$custom-dark: #000000;
JSON
{
  "hex": "#545790",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 144
  },
  "hsl": {
    "h": 237,
    "s": 26.316,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48029,
    "c": 0.09114,
    "h": 280.1
  },
  "luminance": 0.10715
}

Semantic roles & 50–950 ramp

primary
#545790
secondary
#B1B08E
accent
#BE65C3
background
#F8F8FA
surface
#F0EFF5
border
#CBCACF
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #545790

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

Preview Lab → · Contrast checker → · Palette generator →

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