#595BA7#595BA7

#595BA7 is a mid, moderate blue. Relative luminance 0.124; OKLCH L 50.6% C 0.119 H 280.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#595BA7
RGBrgb(89, 91, 167)
HSLhsl(238, 31%, 50%)
HSVhsv(238, 47%, 65%)
CMYKcmyk(46.7%, 45.5%, 0%, 34.5%)
CIE-LABlab(41.84, 19.90, -41.29)
CIE-LCHlch(41.84, 45.84, 295.73°)
OKLaboklab(50.63% 0.0209 -0.117)
OKLCHoklch(50.63% 0.119 280.1)
XYZxyz(14.8339, 12.3953, 38.1626)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595BA7 #A7A559
analogous
#5982A7 #595BA7 #7E59A7
triadic
#595BA7 #A7595B #5BA759
tetradic
#595BA7 #A75982 #A7A559 #59A77E
square
#595BA7 #A75982 #A7A559 #59A77E
split-complementary
#595BA7 #A77E59 #82A759
monochromatic
#2E2F57 #43457F #595BA7 #8183BC #A9AAD1

Accessibility & contrast

On white

6.04
#595BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#595BA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595BA7
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595BA7#FFFFFF#000000##FFFFFF
##595BA71.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D66AA
Deuteranopia (green-blind)
#3760A5
Tritanopia (blue-blind)
#3E6B79
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #595ba7;
/* rgb */ color: rgb(89, 91, 167);
/* oklch */ color: oklch(50.6% 0.119 280.1);
Tailwind
colors: {
  custom: {
    50: '#8c89c1',
    500: '#595ba7',
    950: '#000000',
  },
}
SCSS
$custom: #595ba7;
$custom-light: #8c89c1;
$custom-dark: #000000;
JSON
{
  "hex": "#595ba7",
  "rgb": {
    "r": 89,
    "g": 91,
    "b": 167
  },
  "hsl": {
    "h": 238.462,
    "s": 30.709,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50631,
    "c": 0.11887,
    "h": 280.1
  },
  "luminance": 0.12396
}

Semantic roles & 50–950 ramp

primary
#595BA7
secondary
#BFBE9C
accent
#C461C7
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #595BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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