#596287#596287

#596287 is a mid, moderate blue. Relative luminance 0.126; OKLCH L 50.4% C 0.060 H 273.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#596287
RGBrgb(89, 98, 135)
HSLhsl(228, 21%, 44%)
HSVhsv(228, 34%, 53%)
CMYKcmyk(34.1%, 27.4%, 0%, 47.1%)
CIE-LABlab(42.17, 5.97, -21.64)
CIE-LCHlch(42.17, 22.45, 285.41°)
OKLaboklab(50.36% 0.0037 -0.06)
OKLCHoklch(50.36% 0.06 273.5)
XYZxyz(12.8594, 12.6080, 24.6730)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#596287 #877E59
analogous
#597987 #596287 #675987
triadic
#596287 #875962 #628759
tetradic
#596287 #875979 #877E59 #598767
square
#596287 #875979 #877E59 #598767
split-complementary
#596287 #876759 #798759
monochromatic
#282C3D #414762 #596287 #7881A6 #9CA3BE

Accessibility & contrast

On white

5.96
#596287 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#596287 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #596287
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##596287#FFFFFF#000000##FFFFFF
##5962871.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566689
Deuteranopia (green-blind)
#536286
Tritanopia (blue-blind)
#4C696F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #596287;
/* rgb */ color: rgb(89, 98, 135);
/* oklch */ color: oklch(50.4% 0.060 273.5);
Tailwind
colors: {
  custom: {
    50: '#898eaa',
    500: '#596287',
    950: '#000000',
  },
}
SCSS
$custom: #596287;
$custom-light: #898eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#596287",
  "rgb": {
    "r": 89,
    "g": 98,
    "b": 135
  },
  "hsl": {
    "h": 228.261,
    "s": 20.536,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50356,
    "c": 0.06012,
    "h": 273.5
  },
  "luminance": 0.12608
}

Semantic roles & 50–950 ramp

primary
#596287
secondary
#ACA690
accent
#AD6BBD
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0B0C10
muted
#7C7D7F

Preview Lab

Preview with #596287

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

Preview Lab → · Contrast checker → · Palette generator →

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