#595FD5#595FD5

#595FD5 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.5% C 0.178 H 276.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#595FD5
RGBrgb(89, 95, 213)
HSLhsl(237, 60%, 59%)
HSVhsv(237, 58%, 84%)
CMYKcmyk(58.2%, 55.4%, 0%, 16.5%)
CIE-LABlab(45.79, 32.16, -61.69)
CIE-LCHlch(45.79, 69.57, 297.53°)
OKLaboklab(54.54% 0.0203 -0.1769)
OKLCHoklch(54.54% 0.178 276.5)
XYZxyz(20.2184, 15.1109, 64.7891)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595FD5 #D5CF59
analogous
#599DD5 #595FD5 #9159D5
triadic
#595FD5 #D5595F #5FD559
tetradic
#595FD5 #D5599D #D5CF59 #59D591
square
#595FD5 #D5599D #D5CF59 #59D591
split-complementary
#595FD5 #D59159 #9DD559
monochromatic
#24298F #3138C0 #595FD5 #8A8EE1 #BBBDEE

Accessibility & contrast

On white

5.22
#595FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#595FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595FD5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595FD5#FFFFFF#000000##FFFFFF
##595FD51.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072D9
Deuteranopia (green-blind)
#0067D3
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #595fd5;
/* rgb */ color: rgb(89, 95, 213);
/* oklch */ color: oklch(54.5% 0.178 276.5);
Tailwind
colors: {
  custom: {
    50: '#938ce3',
    500: '#595fd5',
    950: '#000000',
  },
}
SCSS
$custom: #595fd5;
$custom-light: #938ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#595fd5",
  "rgb": {
    "r": 89,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 237.097,
    "s": 59.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54538,
    "c": 0.1781,
    "h": 276.5
  },
  "luminance": 0.15112
}

Semantic roles & 50–950 ramp

primary
#595FD5
secondary
#DDDBAD
accent
#DB45E3
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84

Preview Lab

Preview with #595FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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