#595BB2#595BB2

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

Color values

HEX#595BB2
RGBrgb(89, 91, 178)
HSLhsl(239, 37%, 52%)
HSVhsv(239, 50%, 70%)
CMYKcmyk(50%, 48.9%, 0%, 30.2%)
CIE-LABlab(42.49, 23.36, -46.74)
CIE-LCHlch(42.49, 52.25, 296.55°)
OKLaboklab(51.34% 0.0223 -0.133)
OKLCHoklch(51.34% 0.135 279.5)
XYZxyz(15.8943, 12.8195, 43.7477)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595BB2 #B2B059
analogous
#5987B2 #595BB2 #8459B2
triadic
#595BB2 #B2595B #5BB259
tetradic
#595BB2 #B25987 #B2B059 #59B284
square
#595BB2 #B25987 #B2B059 #59B284
split-complementary
#595BB2 #B28459 #87B259
monochromatic
#2E2F63 #41438D #595BB2 #8384C5 #ADAED9

Accessibility & contrast

On white

5.89
#595BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#595BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595BB2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595BB2#FFFFFF#000000##FFFFFF
##595BB21.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#2C61B0
Tritanopia (blue-blind)
#376E7E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #595bb2;
/* rgb */ color: rgb(89, 91, 178);
/* oklch */ color: oklch(51.3% 0.135 279.5);
Tailwind
colors: {
  custom: {
    50: '#8e89c9',
    500: '#595bb2',
    950: '#000000',
  },
}
SCSS
$custom: #595bb2;
$custom-light: #8e89c9;
$custom-dark: #000000;
JSON
{
  "hex": "#595bb2",
  "rgb": {
    "r": 89,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 238.652,
    "s": 36.626,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51336,
    "c": 0.13485,
    "h": 279.5
  },
  "luminance": 0.1282
}

Semantic roles & 50–950 ramp

primary
#595BB2
secondary
#C7C6A0
accent
#CA5BCD
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #595BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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