#56589F#56589F

#56589F is a mid, moderate blue. Relative luminance 0.115; OKLCH L 49.3% C 0.112 H 280.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#56589F
RGBrgb(86, 88, 159)
HSLhsl(238, 30%, 48%)
HSVhsv(238, 46%, 62%)
CMYKcmyk(45.9%, 44.7%, 0%, 37.6%)
CIE-LABlab(40.35, 18.55, -38.92)
CIE-LCHlch(40.35, 43.12, 295.48°)
OKLaboklab(49.29% 0.0199 -0.1102)
OKLCHoklch(49.29% 0.112 280.2)
XYZxyz(13.5836, 11.4604, 34.2905)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56589F #9F9D56
analogous
#567C9F #56589F #78569F
triadic
#56589F #9F5658 #589F56
tetradic
#56589F #9F567C #9F9D56 #569F78
square
#56589F #9F567C #9F9D56 #569F78
split-complementary
#56589F #9F7856 #7C9F56
monochromatic
#2B2C50 #414277 #56589F #7B7CB7 #A2A4CD

Accessibility & contrast

On white

6.38
#56589F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#56589F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #56589F
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56589F#FFFFFF#000000##FFFFFF
##56589F1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C62A2
Deuteranopia (green-blind)
#385C9D
Tritanopia (blue-blind)
#3D6774
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #56589f;
/* rgb */ color: rgb(86, 88, 159);
/* oklch */ color: oklch(49.3% 0.112 280.2);
Tailwind
colors: {
  custom: {
    50: '#8a87bc',
    500: '#56589f',
    950: '#000000',
  },
}
SCSS
$custom: #56589f;
$custom-light: #8a87bc;
$custom-dark: #000000;
JSON
{
  "hex": "#56589f",
  "rgb": {
    "r": 86,
    "g": 88,
    "b": 159
  },
  "hsl": {
    "h": 238.356,
    "s": 29.796,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4929,
    "c": 0.11195,
    "h": 280.2
  },
  "luminance": 0.11461
}

Semantic roles & 50–950 ramp

primary
#56589F
secondary
#BAB996
accent
#C362C6
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #56589F

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

Preview Lab → · Contrast checker → · Palette generator →

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