#595AB7#595AB7

#595AB7 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.5% C 0.143 H 279.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#595AB7
RGBrgb(89, 90, 183)
HSLhsl(239, 39%, 53%)
HSVhsv(239, 51%, 72%)
CMYKcmyk(51.4%, 50.8%, 0%, 28.2%)
CIE-LABlab(42.54, 25.57, -49.58)
CIE-LCHlch(42.54, 55.79, 297.28°)
OKLaboklab(51.48% 0.024 -0.1414)
OKLCHoklch(51.48% 0.143 279.6)
XYZxyz(16.3206, 12.8541, 46.4117)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595AB7 #B7B659
analogous
#5989B7 #595AB7 #8759B7
triadic
#595AB7 #B7595A #5AB759
tetradic
#595AB7 #B75989 #B7B659 #59B787
square
#595AB7 #B75989 #B7B659 #59B787
split-complementary
#595AB7 #B78759 #89B759
monochromatic
#2D2E68 #404193 #595AB7 #8484CA #AEAFDC

Accessibility & contrast

On white

5.88
#595AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#595AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595AB7
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595AB7#FFFFFF#000000##FFFFFF
##595AB71.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D68BA
Deuteranopia (green-blind)
#2361B5
Tritanopia (blue-blind)
#336E80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #595ab7;
/* rgb */ color: rgb(89, 90, 183);
/* oklch */ color: oklch(51.5% 0.143 279.6);
Tailwind
colors: {
  custom: {
    50: '#8e88cd',
    500: '#595ab7',
    950: '#000000',
  },
}
SCSS
$custom: #595ab7;
$custom-light: #8e88cd;
$custom-dark: #000000;
JSON
{
  "hex": "#595ab7",
  "rgb": {
    "r": 89,
    "g": 90,
    "b": 183
  },
  "hsl": {
    "h": 239.362,
    "s": 39.496,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51475,
    "c": 0.14338,
    "h": 279.6
  },
  "luminance": 0.12855
}

Semantic roles & 50–950 ramp

primary
#595AB7
secondary
#CACAA2
accent
#CE58CF
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #595AB7

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

Preview Lab → · Contrast checker → · Palette generator →

#595AB7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva