#595AF6#595AF6

#595AF6 is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.3% C 0.227 H 276.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#595AF6
RGBrgb(89, 90, 246)
HSLhsl(240, 90%, 66%)
HSVhsv(240, 64%, 96%)
CMYKcmyk(63.8%, 63.4%, 0%, 3.5%)
CIE-LABlab(47.09, 45.86, -78.22)
CIE-LCHlch(47.09, 90.67, 300.38°)
OKLaboklab(56.27% 0.0237 -0.2255)
OKLCHoklch(56.27% 0.227 276)
XYZxyz(24.4051, 16.0879, 88.9901)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595AF6 #F6F559
analogous
#59A8F6 #595AF6 #A659F6
triadic
#595AF6 #F6595A #5AF659
tetradic
#595AF6 #F659A8 #F6F559 #59F6A6
square
#595AF6 #F659A8 #F6F559 #59F6A6
split-complementary
#595AF6 #F6A659 #A8F659
monochromatic
#0B0CCA #1F20F3 #595AF6 #9394F9 #CDCDFC

Accessibility & contrast

On white

4.98
#595AF6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#595AF6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595AF6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595AF6#FFFFFF#000000##FFFFFF
##595AF61.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FB
Deuteranopia (green-blind)
#0069F3
Tritanopia (blue-blind)
#0082A0
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #595af6;
/* rgb */ color: rgb(89, 90, 246);
/* oklch */ color: oklch(56.3% 0.227 276.0);
Tailwind
colors: {
  custom: {
    50: '#9989fa',
    500: '#595af6',
    950: '#000000',
  },
}
SCSS
$custom: #595af6;
$custom-light: #9989fa;
$custom-dark: #000000;
JSON
{
  "hex": "#595af6",
  "rgb": {
    "r": 89,
    "g": 90,
    "b": 246
  },
  "hsl": {
    "h": 239.618,
    "s": 89.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.56273,
    "c": 0.22677,
    "h": 276
  },
  "luminance": 0.1609
}

Semantic roles & 50–950 ramp

primary
#595AF6
secondary
#F0EFBB
accent
#E400E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #595AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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