#54528F#54528F

#54528F is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.9% C 0.097 H 283.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#54528F
RGBrgb(84, 82, 143)
HSLhsl(242, 27%, 44%)
HSVhsv(242, 43%, 56%)
CMYKcmyk(41.3%, 42.7%, 0%, 43.9%)
CIE-LABlab(37.67, 16.91, -33.56)
CIE-LCHlch(37.67, 37.57, 296.74°)
OKLaboklab(46.92% 0.0227 -0.0946)
OKLCHoklch(46.92% 0.097 283.5)
XYZxyz(11.6300, 9.9021, 27.2798)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54528F #8D8F52
analogous
#526F8F #54528F #73528F
triadic
#54528F #8F5452 #528F54
tetradic
#54528F #8F526F #8D8F52 #528F73
square
#54528F #8F526F #8D8F52 #528F73
split-complementary
#54528F #8F7352 #6F8F52
monochromatic
#262541 #3D3C68 #54528F #7371AD #9998C4

Accessibility & contrast

On white

7.05
#54528F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#54528F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54528F
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54528F#FFFFFF#000000##FFFFFF
##54528F1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5B91
Deuteranopia (green-blind)
#3A578E
Tritanopia (blue-blind)
#435E69
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #54528f;
/* rgb */ color: rgb(84, 82, 143);
/* oklch */ color: oklch(46.9% 0.097 283.5);
Tailwind
colors: {
  custom: {
    50: '#8782b0',
    500: '#54528f',
    950: '#000000',
  },
}
SCSS
$custom: #54528f;
$custom-light: #8782b0;
$custom-dark: #000000;
JSON
{
  "hex": "#54528f",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 143
  },
  "hsl": {
    "h": 241.967,
    "s": 27.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4692,
    "c": 0.09724,
    "h": 283.5
  },
  "luminance": 0.09903
}

Semantic roles & 50–950 ramp

primary
#54528F
secondary
#B0B18C
accent
#C364C0
background
#F8F7FA
surface
#F0EEF5
border
#CBC9CF
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #54528F

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

Preview Lab → · Contrast checker → · Palette generator →

#54528F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva