#545288#545288

#545288 is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.5% C 0.087 H 284.2°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#545288
RGBrgb(84, 82, 136)
HSLhsl(242, 25%, 43%)
HSVhsv(242, 40%, 53%)
CMYKcmyk(38.2%, 39.7%, 0%, 46.7%)
CIE-LABlab(37.29, 14.81, -29.88)
CIE-LCHlch(37.29, 33.35, 296.36°)
OKLaboklab(46.51% 0.0212 -0.0839)
OKLCHoklch(46.51% 0.087 284.2)
XYZxyz(11.1161, 9.6966, 24.5737)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545288 #868852
analogous
#526B88 #545288 #6F5288
triadic
#545288 #885452 #528854
tetradic
#545288 #88526B #868852 #52886F
square
#545288 #88526B #868852 #52886F
split-complementary
#545288 #886F52 #6B8852
monochromatic
#25243C #3C3B62 #545288 #716FA8 #9795BF

Accessibility & contrast

On white

7.14
#545288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#545288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545288
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545288#FFFFFF#000000##FFFFFF
##5452881.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40598A
Deuteranopia (green-blind)
#3F5687
Tritanopia (blue-blind)
#465C66
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545288;
/* rgb */ color: rgb(84, 82, 136);
/* oklch */ color: oklch(46.5% 0.087 284.2);
Tailwind
colors: {
  custom: {
    50: '#8682ab',
    500: '#545288',
    950: '#000000',
  },
}
SCSS
$custom: #545288;
$custom-light: #8682ab;
$custom-dark: #000000;
JSON
{
  "hex": "#545288",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 136
  },
  "hsl": {
    "h": 242.222,
    "s": 24.771,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46513,
    "c": 0.08651,
    "h": 284.2
  },
  "luminance": 0.09697
}

Semantic roles & 50–950 ramp

primary
#545288
secondary
#ABAC8A
accent
#C167BE
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #545288

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

Preview Lab → · Contrast checker → · Palette generator →

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