#595AB5#595AB5

#595AB5 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.3% C 0.141 H 279.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#595AB5
RGBrgb(89, 90, 181)
HSLhsl(239, 38%, 53%)
HSVhsv(239, 51%, 71%)
CMYKcmyk(50.8%, 50.3%, 0%, 29%)
CIE-LABlab(42.42, 24.93, -48.61)
CIE-LCHlch(42.42, 54.63, 297.15°)
OKLaboklab(51.34% 0.0238 -0.1385)
OKLCHoklch(51.34% 0.141 279.8)
XYZxyz(16.1139, 12.7715, 45.3231)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595AB5 #B5B459
analogous
#5988B5 #595AB5 #8659B5
triadic
#595AB5 #B5595A #5AB559
tetradic
#595AB5 #B55988 #B5B459 #59B586
square
#595AB5 #B55988 #B5B459 #59B586
split-complementary
#595AB5 #B58659 #88B559
monochromatic
#2E2E66 #404190 #595AB5 #8384C8 #AEAEDB

Accessibility & contrast

On white

5.91
#595AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#595AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595AB5
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595AB5#FFFFFF#000000##FFFFFF
##595AB51.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F68B8
Deuteranopia (green-blind)
#2661B3
Tritanopia (blue-blind)
#356E7F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #595ab5;
/* rgb */ color: rgb(89, 90, 181);
/* oklch */ color: oklch(51.3% 0.141 279.8);
Tailwind
colors: {
  custom: {
    50: '#8e88cc',
    500: '#595ab5',
    950: '#000000',
  },
}
SCSS
$custom: #595ab5;
$custom-light: #8e88cc;
$custom-dark: #000000;
JSON
{
  "hex": "#595ab5",
  "rgb": {
    "r": 89,
    "g": 90,
    "b": 181
  },
  "hsl": {
    "h": 239.348,
    "s": 38.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5134,
    "c": 0.14054,
    "h": 279.8
  },
  "luminance": 0.12772
}

Semantic roles & 50–950 ramp

primary
#595AB5
secondary
#C9C8A1
accent
#CD5ACE
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #595AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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