#595FD7#595FD7

#595FD7 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.7% C 0.181 H 276.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#595FD7
RGBrgb(89, 95, 215)
HSLhsl(237, 61%, 60%)
HSVhsv(237, 59%, 84%)
CMYKcmyk(58.6%, 55.8%, 0%, 15.7%)
CIE-LABlab(45.92, 32.81, -62.61)
CIE-LCHlch(45.92, 70.69, 297.66°)
OKLaboklab(54.69% 0.0204 -0.1796)
OKLCHoklch(54.69% 0.181 276.5)
XYZxyz(20.4738, 15.2130, 66.1343)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595FD7 #D7D159
analogous
#599ED7 #595FD7 #9259D7
triadic
#595FD7 #D7595F #5FD759
tetradic
#595FD7 #D7599E #D7D159 #59D792
square
#595FD7 #D7599E #D7D159 #59D792
split-complementary
#595FD7 #D79259 #9ED759
monochromatic
#232992 #2F36C4 #595FD7 #8A8FE3 #BCBEEF

Accessibility & contrast

On white

5.19
#595FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#595FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595FD7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595FD7#FFFFFF#000000##FFFFFF
##595FD71.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#0068D5
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #595fd7;
/* rgb */ color: rgb(89, 95, 215);
/* oklch */ color: oklch(54.7% 0.181 276.5);
Tailwind
colors: {
  custom: {
    50: '#938ce4',
    500: '#595fd7',
    950: '#000000',
  },
}
SCSS
$custom: #595fd7;
$custom-light: #938ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#595fd7",
  "rgb": {
    "r": 89,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 237.143,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54686,
    "c": 0.18079,
    "h": 276.5
  },
  "luminance": 0.15215
}

Semantic roles & 50–950 ramp

primary
#595FD7
secondary
#DEDCAD
accent
#DD44E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #595FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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