#595EA7#595EA7

#595EA7 is a mid, moderate blue. Relative luminance 0.129; OKLCH L 51.2% C 0.115 H 278.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#595EA7
RGBrgb(89, 94, 167)
HSLhsl(236, 31%, 50%)
HSVhsv(236, 47%, 65%)
CMYKcmyk(46.7%, 43.7%, 0%, 34.5%)
CIE-LABlab(42.64, 18.01, -40.02)
CIE-LCHlch(42.64, 43.88, 294.24°)
OKLaboklab(51.24% 0.0171 -0.1133)
OKLCHoklch(51.24% 0.115 278.6)
XYZxyz(15.0955, 12.9185, 38.2498)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595EA7 #A7A259
analogous
#5985A7 #595EA7 #7B59A7
triadic
#595EA7 #A7595E #5EA759
tetradic
#595EA7 #A75985 #A7A259 #59A77B
square
#595EA7 #A75985 #A7A259 #59A77B
split-complementary
#595EA7 #A77B59 #85A759
monochromatic
#2E3157 #43477F #595EA7 #8185BC #A9ACD1

Accessibility & contrast

On white

5.86
#595EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#595EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595EA7
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595EA7#FFFFFF#000000##FFFFFF
##595EA71.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4268AA
Deuteranopia (green-blind)
#3C62A5
Tritanopia (blue-blind)
#3E6D7A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #595ea7;
/* rgb */ color: rgb(89, 94, 167);
/* oklch */ color: oklch(51.2% 0.115 278.6);
Tailwind
colors: {
  custom: {
    50: '#8c8bc1',
    500: '#595ea7',
    950: '#000000',
  },
}
SCSS
$custom: #595ea7;
$custom-light: #8c8bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#595ea7",
  "rgb": {
    "r": 89,
    "g": 94,
    "b": 167
  },
  "hsl": {
    "h": 236.154,
    "s": 30.709,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51241,
    "c": 0.11454,
    "h": 278.6
  },
  "luminance": 0.12919
}

Semantic roles & 50–950 ramp

primary
#595EA7
secondary
#BFBD9C
accent
#C061C7
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #595EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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