#595AC7#595AC7

#595AC7 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.6% C 0.166 H 278.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#595AC7
RGBrgb(89, 90, 199)
HSLhsl(239, 50%, 56%)
HSVhsv(239, 55%, 78%)
CMYKcmyk(55.3%, 54.8%, 0%, 22%)
CIE-LABlab(43.59, 30.70, -57.19)
CIE-LCHlch(43.59, 64.91, 298.22°)
OKLaboklab(52.6% 0.025 -0.1637)
OKLCHoklch(52.6% 0.166 278.7)
XYZxyz(18.0815, 13.5585, 55.6860)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595AC7 #C7C659
analogous
#5991C7 #595AC7 #8F59C7
triadic
#595AC7 #C7595A #5AC759
tetradic
#595AC7 #C75991 #C7C659 #59C78F
square
#595AC7 #C75991 #C7C659 #59C78F
split-complementary
#595AC7 #C78F59 #91C759
monochromatic
#2A2B7C #393AAA #595AC7 #8787D6 #B5B5E6

Accessibility & contrast

On white

5.66
#595AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#595AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595AC7
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595AC7#FFFFFF#000000##FFFFFF
##595AC71.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126CCB
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#217388
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #595ac7;
/* rgb */ color: rgb(89, 90, 199);
/* oklch */ color: oklch(52.6% 0.166 278.7);
Tailwind
colors: {
  custom: {
    50: '#9188d9',
    500: '#595ac7',
    950: '#000000',
  },
}
SCSS
$custom: #595ac7;
$custom-light: #9188d9;
$custom-dark: #000000;
JSON
{
  "hex": "#595ac7",
  "rgb": {
    "r": 89,
    "g": 90,
    "b": 199
  },
  "hsl": {
    "h": 239.455,
    "s": 49.55,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52598,
    "c": 0.16564,
    "h": 278.7
  },
  "luminance": 0.1356
}

Semantic roles & 50–950 ramp

primary
#595AC7
secondary
#D4D4A7
accent
#D84FD9
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #595AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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