#595AF2#595AF2

#595AF2 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.9% C 0.222 H 276.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#595AF2
RGBrgb(89, 90, 242)
HSLhsl(240, 85%, 65%)
HSVhsv(240, 63%, 95%)
CMYKcmyk(63.2%, 62.8%, 0%, 5.1%)
CIE-LABlab(46.77, 44.58, -76.50)
CIE-LCHlch(46.77, 88.54, 300.23°)
OKLaboklab(55.94% 0.024 -0.2205)
OKLCHoklch(55.94% 0.222 276.2)
XYZxyz(23.7978, 15.8450, 85.7915)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595AF2 #F2F159
analogous
#59A6F2 #595AF2 #A559F2
triadic
#595AF2 #F2595A #5AF259
tetradic
#595AF2 #F259A6 #F2F159 #59F2A5
square
#595AF2 #F259A6 #F2F159 #59F2A5
split-complementary
#595AF2 #F2A559 #A6F259
monochromatic
#0F10C1 #2022EE #595AF2 #9292F6 #CBCBFB

Accessibility & contrast

On white

5.04
#595AF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#595AF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595AF2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595AF2#FFFFFF#000000##FFFFFF
##595AF21.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F7
Deuteranopia (green-blind)
#0068EF
Tritanopia (blue-blind)
#00819E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #595af2;
/* rgb */ color: rgb(89, 90, 242);
/* oklch */ color: oklch(55.9% 0.222 276.2);
Tailwind
colors: {
  custom: {
    50: '#9889f7',
    500: '#595af2',
    950: '#000000',
  },
}
SCSS
$custom: #595af2;
$custom-light: #9889f7;
$custom-dark: #000000;
JSON
{
  "hex": "#595af2",
  "rgb": {
    "r": 89,
    "g": 90,
    "b": 242
  },
  "hsl": {
    "h": 239.608,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.55941,
    "c": 0.22179,
    "h": 276.2
  },
  "luminance": 0.15847
}

Semantic roles & 50–950 ramp

primary
#595AF2
secondary
#EDEDB9
accent
#E104E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #595AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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