#596381#596381

#596381 is a mid, muted blue. Relative luminance 0.126; OKLCH L 50.3% C 0.050 H 270.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#596381
RGBrgb(89, 99, 129)
HSLhsl(225, 18%, 43%)
HSVhsv(225, 31%, 51%)
CMYKcmyk(31%, 23.3%, 0%, 49.4%)
CIE-LABlab(42.20, 3.68, -17.96)
CIE-LCHlch(42.20, 18.34, 281.59°)
OKLaboklab(50.3% 0.0002 -0.0495)
OKLCHoklch(50.3% 0.05 270.2)
XYZxyz(12.5430, 12.6321, 22.5420)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#596381 #817759
analogous
#597781 #596381 #635981
triadic
#596381 #815963 #638159
tetradic
#596381 #815977 #817759 #598163
square
#596381 #815977 #817759 #598163
split-complementary
#596381 #816359 #778159
monochromatic
#272B39 #40475D #596381 #7681A1 #9BA2BA

Accessibility & contrast

On white

5.95
#596381 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#596381 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #596381
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##596381#FFFFFF#000000##FFFFFF
##5963811.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6582
Deuteranopia (green-blind)
#566280
Tritanopia (blue-blind)
#4E696D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #596381;
/* rgb */ color: rgb(89, 99, 129);
/* oklch */ color: oklch(50.3% 0.050 270.2);
Tailwind
colors: {
  custom: {
    50: '#898fa5',
    500: '#596381',
    950: '#000000',
  },
}
SCSS
$custom: #596381;
$custom-light: #898fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#596381",
  "rgb": {
    "r": 89,
    "g": 99,
    "b": 129
  },
  "hsl": {
    "h": 225,
    "s": 18.349,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50302,
    "c": 0.04954,
    "h": 270.2
  },
  "luminance": 0.12633
}

Semantic roles & 50–950 ramp

primary
#596381
secondary
#A8A18E
accent
#A76DBB
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0B0C0F
muted
#7C7D7F

Preview Lab

Preview with #596381

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

Preview Lab → · Contrast checker → · Palette generator →

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