#595BB1#595BB1

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

Color values

HEX#595BB1
RGBrgb(89, 91, 177)
HSLhsl(239, 36%, 52%)
HSVhsv(239, 50%, 69%)
CMYKcmyk(49.7%, 48.6%, 0%, 30.6%)
CIE-LABlab(42.43, 23.04, -46.25)
CIE-LCHlch(42.43, 51.67, 296.48°)
OKLaboklab(51.27% 0.0222 -0.1315)
OKLCHoklch(51.27% 0.133 279.6)
XYZxyz(15.7943, 12.7795, 43.2209)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595BB1 #B1AF59
analogous
#5987B1 #595BB1 #8359B1
triadic
#595BB1 #B1595B #5BB159
tetradic
#595BB1 #B15987 #B1AF59 #59B183
square
#595BB1 #B15987 #B1AF59 #59B183
split-complementary
#595BB1 #B18359 #87B159
monochromatic
#2E2F62 #41438B #595BB1 #8384C5 #ACADD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##595BB1#FFFFFF#000000##FFFFFF
##595BB11.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3568B4
Deuteranopia (green-blind)
#2D61AF
Tritanopia (blue-blind)
#376E7D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #595bb1;
/* rgb */ color: rgb(89, 91, 177);
/* oklch */ color: oklch(51.3% 0.133 279.6);
Tailwind
colors: {
  custom: {
    50: '#8e89c9',
    500: '#595bb1',
    950: '#000000',
  },
}
SCSS
$custom: #595bb1;
$custom-light: #8e89c9;
$custom-dark: #000000;
JSON
{
  "hex": "#595bb1",
  "rgb": {
    "r": 89,
    "g": 91,
    "b": 177
  },
  "hsl": {
    "h": 238.636,
    "s": 36.066,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5127,
    "c": 0.13341,
    "h": 279.6
  },
  "luminance": 0.1278
}

Semantic roles & 50–950 ramp

primary
#595BB1
secondary
#C6C5A0
accent
#CA5CCC
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #595BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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