#595CD5#595CD5

#595CD5 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.0% C 0.182 H 277.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#595CD5
RGBrgb(89, 92, 213)
HSLhsl(239, 60%, 59%)
HSVhsv(239, 58%, 84%)
CMYKcmyk(58.2%, 56.8%, 0%, 16.5%)
CIE-LABlab(45.05, 34.00, -62.88)
CIE-LCHlch(45.05, 71.48, 298.40°)
OKLaboklab(53.99% 0.0232 -0.1804)
OKLCHoklch(53.99% 0.182 277.3)
XYZxyz(19.9534, 14.5808, 64.7008)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595CD5 #D5D259
analogous
#599AD5 #595CD5 #9459D5
triadic
#595CD5 #D5595C #5CD559
tetradic
#595CD5 #D5599A #D5D259 #59D594
square
#595CD5 #D5599A #D5D259 #59D594
split-complementary
#595CD5 #D59459 #9AD559
monochromatic
#24278F #3134C0 #595CD5 #8A8CE1 #BBBCEE

Accessibility & contrast

On white

5.36
#595CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#595CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595CD5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595CD5#FFFFFF#000000##FFFFFF
##595CD51.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#0066D3
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #595cd5;
/* rgb */ color: rgb(89, 92, 213);
/* oklch */ color: oklch(54.0% 0.182 277.3);
Tailwind
colors: {
  custom: {
    50: '#938ae3',
    500: '#595cd5',
    950: '#000000',
  },
}
SCSS
$custom: #595cd5;
$custom-light: #938ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#595cd5",
  "rgb": {
    "r": 89,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 238.548,
    "s": 59.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53994,
    "c": 0.18194,
    "h": 277.3
  },
  "luminance": 0.14582
}

Semantic roles & 50–950 ramp

primary
#595CD5
secondary
#DDDCAD
accent
#DF45E3
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B15
muted
#7E7C84

Preview Lab

Preview with #595CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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