#595997#595997

#595997 is a mid, moderate blue. Relative luminance 0.115; OKLCH L 49.3% C 0.098 H 282.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#595997
RGBrgb(89, 89, 151)
HSLhsl(240, 26%, 47%)
HSVhsv(240, 41%, 59%)
CMYKcmyk(41.1%, 41.1%, 0%, 40.8%)
CIE-LABlab(40.41, 16.26, -34.01)
CIE-LCHlch(40.41, 37.70, 295.56°)
OKLaboklab(49.26% 0.0207 -0.0957)
OKLCHoklch(49.26% 0.098 282.2)
XYZxyz(13.2765, 11.5024, 30.7928)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595997 #979759
analogous
#597897 #595997 #785997
triadic
#595997 #975959 #599759
tetradic
#595997 #975978 #979759 #599778
square
#595997 #975978 #979759 #599778
split-complementary
#595997 #977859 #789759
monochromatic
#2C2C4A #424270 #595997 #7C7CB2 #A2A2C8

Accessibility & contrast

On white

6.36
#595997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#595997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595997
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595997#FFFFFF#000000##FFFFFF
##5959971.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446199
Deuteranopia (green-blind)
#415D96
Tritanopia (blue-blind)
#476571
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #595997;
/* rgb */ color: rgb(89, 89, 151);
/* oklch */ color: oklch(49.3% 0.098 282.2);
Tailwind
colors: {
  custom: {
    50: '#8b87b6',
    500: '#595997',
    950: '#000000',
  },
}
SCSS
$custom: #595997;
$custom-light: #8b87b6;
$custom-dark: #000000;
JSON
{
  "hex": "#595997",
  "rgb": {
    "r": 89,
    "g": 89,
    "b": 151
  },
  "hsl": {
    "h": 240,
    "s": 25.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49259,
    "c": 0.09796,
    "h": 282.2
  },
  "luminance": 0.11503
}

Semantic roles & 50–950 ramp

primary
#595997
secondary
#B6B696
accent
#C266C2
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #595997

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

Preview Lab → · Contrast checker → · Palette generator →

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