#56599F#56599F

#56599F is a mid, moderate blue. Relative luminance 0.116; OKLCH L 49.5% C 0.111 H 279.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#56599F
RGBrgb(86, 89, 159)
HSLhsl(238, 30%, 48%)
HSVhsv(238, 46%, 62%)
CMYKcmyk(45.9%, 44%, 0%, 37.6%)
CIE-LABlab(40.61, 17.91, -38.50)
CIE-LCHlch(40.61, 42.46, 294.95°)
OKLaboklab(49.5% 0.0186 -0.1089)
OKLCHoklch(49.5% 0.111 279.7)
XYZxyz(13.6663, 11.6257, 34.3181)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56599F #9F9C56
analogous
#567D9F #56599F #77569F
triadic
#56599F #9F5659 #599F56
tetradic
#56599F #9F567D #9F9C56 #569F77
square
#56599F #9F567D #9F9C56 #569F77
split-complementary
#56599F #9F7756 #7D9F56
monochromatic
#2B2D50 #414377 #56599F #7B7DB7 #A2A4CD

Accessibility & contrast

On white

6.32
#56599F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#56599F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #56599F
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56599F#FFFFFF#000000##FFFFFF
##56599F1.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E63A2
Deuteranopia (green-blind)
#395D9D
Tritanopia (blue-blind)
#3D6774
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #56599f;
/* rgb */ color: rgb(86, 89, 159);
/* oklch */ color: oklch(49.5% 0.111 279.7);
Tailwind
colors: {
  custom: {
    50: '#8a87bc',
    500: '#56599f',
    950: '#000000',
  },
}
SCSS
$custom: #56599f;
$custom-light: #8a87bc;
$custom-dark: #000000;
JSON
{
  "hex": "#56599f",
  "rgb": {
    "r": 86,
    "g": 89,
    "b": 159
  },
  "hsl": {
    "h": 237.534,
    "s": 29.796,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49495,
    "c": 0.1105,
    "h": 279.7
  },
  "luminance": 0.11626
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #56599F

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

Preview Lab → · Contrast checker → · Palette generator →

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