#595CAB#595CAB

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

Color values

HEX#595CAB
RGBrgb(89, 92, 171)
HSLhsl(238, 33%, 51%)
HSVhsv(238, 48%, 67%)
CMYKcmyk(48%, 46.2%, 0%, 32.9%)
CIE-LABlab(42.33, 20.52, -42.86)
CIE-LCHlch(42.33, 47.52, 295.58°)
OKLaboklab(51.08% 0.0202 -0.1216)
OKLCHoklch(51.08% 0.123 279.4)
XYZxyz(15.2954, 12.7176, 40.1690)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595CAB #ABA859
analogous
#5985AB #595CAB #7F59AB
triadic
#595CAB #AB595C #5CAB59
tetradic
#595CAB #AB5985 #ABA859 #59AB7F
square
#595CAB #AB5985 #ABA859 #59AB7F
split-complementary
#595CAB #AB7F59 #85AB59
monochromatic
#2E305B #434584 #595CAB #8284C0 #AAACD4

Accessibility & contrast

On white

5.93
#595CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#595CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595CAB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595CAB#FFFFFF#000000##FFFFFF
##595CAB1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B67AE
Deuteranopia (green-blind)
#3561A9
Tritanopia (blue-blind)
#3B6D7B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #595cab;
/* rgb */ color: rgb(89, 92, 171);
/* oklch */ color: oklch(51.1% 0.123 279.4);
Tailwind
colors: {
  custom: {
    50: '#8d8ac4',
    500: '#595cab',
    950: '#000000',
  },
}
SCSS
$custom: #595cab;
$custom-light: #8d8ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#595cab",
  "rgb": {
    "r": 89,
    "g": 92,
    "b": 171
  },
  "hsl": {
    "h": 237.805,
    "s": 32.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51083,
    "c": 0.12329,
    "h": 279.4
  },
  "luminance": 0.12718
}

Semantic roles & 50–950 ramp

primary
#595CAB
secondary
#C2C19E
accent
#C55FC9
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0D0B13
muted
#7D7C82

Preview Lab

Preview with #595CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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