#595CD7#595CD7

#595CD7 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.1% C 0.185 H 277.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#595CD7
RGBrgb(89, 92, 215)
HSLhsl(239, 61%, 60%)
HSVhsv(239, 59%, 84%)
CMYKcmyk(58.6%, 57.2%, 0%, 15.7%)
CIE-LABlab(45.20, 34.65, -63.79)
CIE-LCHlch(45.20, 72.59, 298.51°)
OKLaboklab(54.15% 0.0232 -0.1831)
OKLCHoklch(54.15% 0.185 277.2)
XYZxyz(20.2088, 14.6830, 66.0460)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595CD7 #D7D459
analogous
#599BD7 #595CD7 #9559D7
triadic
#595CD7 #D7595C #5CD759
tetradic
#595CD7 #D7599B #D7D459 #59D795
square
#595CD7 #D7599B #D7D459 #59D795
split-complementary
#595CD7 #D79559 #9BD759
monochromatic
#232692 #2F33C4 #595CD7 #8A8CE3 #BCBDEF

Accessibility & contrast

On white

5.33
#595CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#595CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595CD7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595CD7#FFFFFF#000000##FFFFFF
##595CD71.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#0066D4
Tritanopia (blue-blind)
#007990
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #595cd7;
/* rgb */ color: rgb(89, 92, 215);
/* oklch */ color: oklch(54.1% 0.185 277.2);
Tailwind
colors: {
  custom: {
    50: '#938ae4',
    500: '#595cd7',
    950: '#000000',
  },
}
SCSS
$custom: #595cd7;
$custom-light: #938ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#595cd7",
  "rgb": {
    "r": 89,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 238.571,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54145,
    "c": 0.1846,
    "h": 277.2
  },
  "luminance": 0.14684
}

Semantic roles & 50–950 ramp

primary
#595CD7
secondary
#DEDDAD
accent
#E044E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #595CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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