#595AFE#595AFE

#595AFE is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.9% C 0.237 H 275.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#595AFE
RGBrgb(89, 90, 254)
HSLhsl(240, 99%, 67%)
HSVhsv(240, 65%, 100%)
CMYKcmyk(65%, 64.6%, 0%, 0.4%)
CIE-LABlab(47.74, 48.42, -81.62)
CIE-LCHlch(47.74, 94.90, 300.68°)
OKLaboklab(56.95% 0.023 -0.2355)
OKLCHoklch(56.95% 0.237 275.6)
XYZxyz(25.6595, 16.5897, 95.5966)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595AFE #FEFD59
analogous
#59ADFE #595AFE #AA59FE
triadic
#595AFE #FE595A #5AFE59
tetradic
#595AFE #FE59AD #FEFD59 #59FEAA
square
#595AFE #FE59AD #FEFD59 #59FEAA
split-complementary
#595AFE #FEAA59 #ADFE59
monochromatic
#0103DB #1C1EFE #595AFE #9696FE #D3D3FF

Accessibility & contrast

On white

4.86
#595AFE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#595AFE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595AFE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595AFE#FFFFFF#000000##FFFFFF
##595AFE1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#006AFB
Tritanopia (blue-blind)
#0085A4
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #595afe;
/* rgb */ color: rgb(89, 90, 254);
/* oklch */ color: oklch(56.9% 0.237 275.6);
Tailwind
colors: {
  custom: {
    50: '#9a89ff',
    500: '#595afe',
    950: '#000000',
  },
}
SCSS
$custom: #595afe;
$custom-light: #9a89ff;
$custom-dark: #000000;
JSON
{
  "hex": "#595afe",
  "rgb": {
    "r": 89,
    "g": 90,
    "b": 254
  },
  "hsl": {
    "h": 239.636,
    "s": 98.802,
    "l": 67.255
  },
  "oklch": {
    "l": 0.56946,
    "c": 0.23661,
    "h": 275.6
  },
  "luminance": 0.16592
}

Semantic roles & 50–950 ramp

primary
#595AFE
secondary
#F3F3BF
accent
#E400E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #595AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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