#595AB2#595AB2

#595AB2 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.136 H 279.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#595AB2
RGBrgb(89, 90, 178)
HSLhsl(239, 37%, 52%)
HSVhsv(239, 50%, 70%)
CMYKcmyk(50%, 49.4%, 0%, 30.2%)
CIE-LABlab(42.23, 23.98, -47.15)
CIE-LCHlch(42.23, 52.90, 296.96°)
OKLaboklab(51.14% 0.0235 -0.1342)
OKLCHoklch(51.14% 0.136 279.9)
XYZxyz(15.8094, 12.6497, 43.7194)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595AB2 #B2B159
analogous
#5986B2 #595AB2 #8559B2
triadic
#595AB2 #B2595A #5AB259
tetradic
#595AB2 #B25986 #B2B159 #59B285
square
#595AB2 #B25986 #B2B159 #59B285
split-complementary
#595AB2 #B28559 #86B259
monochromatic
#2E2E63 #41428D #595AB2 #8384C5 #ADADD9

Accessibility & contrast

On white

5.95
#595AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#595AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##595AB2#FFFFFF#000000##FFFFFF
##595AB21.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)
#3267B5
Deuteranopia (green-blind)
#2A60B0
Tritanopia (blue-blind)
#376D7D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #595ab2;
/* rgb */ color: rgb(89, 90, 178);
/* oklch */ color: oklch(51.1% 0.136 279.9);
Tailwind
colors: {
  custom: {
    50: '#8e88c9',
    500: '#595ab2',
    950: '#000000',
  },
}
SCSS
$custom: #595ab2;
$custom-light: #8e88c9;
$custom-dark: #000000;
JSON
{
  "hex": "#595ab2",
  "rgb": {
    "r": 89,
    "g": 90,
    "b": 178
  },
  "hsl": {
    "h": 239.326,
    "s": 36.626,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5114,
    "c": 0.13626,
    "h": 279.9
  },
  "luminance": 0.12651
}

Semantic roles & 50–950 ramp

primary
#595AB2
secondary
#C7C6A0
accent
#CB5BCD
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #595AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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