#595CB7#595CB7

#595CB7 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.9% C 0.141 H 278.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#595CB7
RGBrgb(89, 92, 183)
HSLhsl(238, 39%, 53%)
HSVhsv(238, 51%, 72%)
CMYKcmyk(51.4%, 49.7%, 0%, 28.2%)
CIE-LABlab(43.06, 24.32, -48.76)
CIE-LCHlch(43.06, 54.48, 296.51°)
OKLaboklab(51.86% 0.0217 -0.1389)
OKLCHoklch(51.86% 0.141 278.9)
XYZxyz(16.4916, 13.1961, 46.4687)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595CB7 #B7B459
analogous
#598BB7 #595CB7 #8559B7
triadic
#595CB7 #B7595C #5CB759
tetradic
#595CB7 #B7598B #B7B459 #59B785
square
#595CB7 #B7598B #B7B459 #59B785
split-complementary
#595CB7 #B78559 #8BB759
monochromatic
#2D2F68 #404293 #595CB7 #8486CA #AEB0DC

Accessibility & contrast

On white

5.77
#595CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#595CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595CB7
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595CB7#FFFFFF#000000##FFFFFF
##595CB71.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3169BA
Deuteranopia (green-blind)
#2862B5
Tritanopia (blue-blind)
#337081
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #595cb7;
/* rgb */ color: rgb(89, 92, 183);
/* oklch */ color: oklch(51.9% 0.141 278.9);
Tailwind
colors: {
  custom: {
    50: '#8e8acd',
    500: '#595cb7',
    950: '#000000',
  },
}
SCSS
$custom: #595cb7;
$custom-light: #8e8acd;
$custom-dark: #000000;
JSON
{
  "hex": "#595cb7",
  "rgb": {
    "r": 89,
    "g": 92,
    "b": 183
  },
  "hsl": {
    "h": 238.085,
    "s": 39.496,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51863,
    "c": 0.14059,
    "h": 278.9
  },
  "luminance": 0.13197
}

Semantic roles & 50–950 ramp

primary
#595CB7
secondary
#CAC9A2
accent
#CC58CF
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #595CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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