#56549F#56549F

#56549F is a mid, moderate blue. Relative luminance 0.108; OKLCH L 48.5% C 0.118 H 282.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#56549F
RGBrgb(86, 84, 159)
HSLhsl(242, 31%, 48%)
HSVhsv(242, 47%, 62%)
CMYKcmyk(45.9%, 47.2%, 0%, 37.6%)
CIE-LABlab(39.28, 21.08, -40.62)
CIE-LCHlch(39.28, 45.77, 297.42°)
OKLaboklab(48.48% 0.0251 -0.1152)
OKLCHoklch(48.48% 0.118 282.3)
XYZxyz(13.2642, 10.8217, 34.1841)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56549F #9D9F54
analogous
#54779F #56549F #7B549F
triadic
#56549F #9F5654 #549F56
tetradic
#56549F #9F5477 #9D9F54 #549F7B
square
#56549F #9F5477 #9D9F54 #549F7B
split-complementary
#56549F #9F7B54 #779F54
monochromatic
#2B2A4F #403F77 #56549F #7A78B8 #A2A0CD

Accessibility & contrast

On white

6.64
#56549F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#56549F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #56549F
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56549F#FFFFFF#000000##FFFFFF
##56549F1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365FA2
Deuteranopia (green-blind)
#325A9D
Tritanopia (blue-blind)
#3E6472
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #56549f;
/* rgb */ color: rgb(86, 84, 159);
/* oklch */ color: oklch(48.5% 0.118 282.3);
Tailwind
colors: {
  custom: {
    50: '#8a84bc',
    500: '#56549f',
    950: '#000000',
  },
}
SCSS
$custom: #56549f;
$custom-light: #8a84bc;
$custom-dark: #000000;
JSON
{
  "hex": "#56549f",
  "rgb": {
    "r": 86,
    "g": 84,
    "b": 159
  },
  "hsl": {
    "h": 241.6,
    "s": 30.864,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48481,
    "c": 0.11786,
    "h": 282.3
  },
  "luminance": 0.10822
}

Semantic roles & 50–950 ramp

primary
#56549F
secondary
#B9BA94
accent
#C761C4
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #56549F

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

Preview Lab → · Contrast checker → · Palette generator →

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