#596CEF#596CEF

#596CEF is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.8% C 0.196 H 272.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#596CEF
RGBrgb(89, 108, 239)
HSLhsl(232, 82%, 64%)
HSVhsv(232, 63%, 94%)
CMYKcmyk(62.8%, 54.8%, 0%, 6.3%)
CIE-LABlab(50.78, 32.76, -68.30)
CIE-LCHlch(50.78, 75.75, 295.63°)
OKLaboklab(58.84% 0.009 -0.1962)
OKLCHoklch(58.84% 0.196 272.6)
XYZxyz(25.0572, 19.0788, 84.0067)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#596CEF #EFDC59
analogous
#59B7EF #596CEF #9159EF
triadic
#596CEF #EF596C #6CEF59
tetradic
#596CEF #EF59B7 #EFDC59 #59EF91
square
#596CEF #EF59B7 #EFDC59 #59EF91
split-complementary
#596CEF #EF9159 #B7EF59
monochromatic
#1228BC #213BEA #596CEF #919DF4 #C9CFFA

Accessibility & contrast

On white

4.36
#596CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#596CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #596CEF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##596CEF#FFFFFF#000000##000000
##596CEF1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F3
Deuteranopia (green-blind)
#0072EC
Tritanopia (blue-blind)
#008BA3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #596cef;
/* rgb */ color: rgb(89, 108, 239);
/* oklch */ color: oklch(58.8% 0.196 272.6);
Tailwind
colors: {
  custom: {
    50: '#9695f5',
    500: '#596cef',
    950: '#000000',
  },
}
SCSS
$custom: #596cef;
$custom-light: #9695f5;
$custom-dark: #000000;
JSON
{
  "hex": "#596cef",
  "rgb": {
    "r": 89,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 232.4,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58837,
    "c": 0.19645,
    "h": 272.6
  },
  "luminance": 0.19081
}

Semantic roles & 50–950 ramp

primary
#596CEF
secondary
#ECE5B8
accent
#C307DF
background
#F9F9FF
surface
#F2F1FE
border
#CCCBD6
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #596CEF

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

Preview Lab → · Contrast checker → · Palette generator →

#596CEF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva