#596EF2#596EF2

#596EF2 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.4% C 0.198 H 272.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#596EF2
RGBrgb(89, 110, 242)
HSLhsl(232, 85%, 65%)
HSVhsv(232, 63%, 95%)
CMYKcmyk(63.2%, 54.5%, 0%, 5.1%)
CIE-LABlab(51.48, 32.54, -68.84)
CIE-LCHlch(51.48, 76.14, 295.30°)
OKLaboklab(59.43% 0.0074 -0.1978)
OKLCHoklch(59.43% 0.198 272.1)
XYZxyz(25.7174, 19.6843, 86.4314)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#596EF2 #F2DD59
analogous
#59BAF2 #596EF2 #9159F2
triadic
#596EF2 #F2596E #6EF259
tetradic
#596EF2 #F259BA #F2DD59 #59F291
square
#596EF2 #F259BA #F2DD59 #59F291
split-complementary
#596EF2 #F29159 #BAF259
monochromatic
#0F28C1 #203CEE #596EF2 #92A0F6 #CBD1FB

Accessibility & contrast

On white

4.25
#596EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#596EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #596EF2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##596EF2#FFFFFF#000000##000000
##596EF21.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#0074EF
Tritanopia (blue-blind)
#008DA5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #596ef2;
/* rgb */ color: rgb(89, 110, 242);
/* oklch */ color: oklch(59.4% 0.198 272.1);
Tailwind
colors: {
  custom: {
    50: '#9797f7',
    500: '#596ef2',
    950: '#000000',
  },
}
SCSS
$custom: #596ef2;
$custom-light: #9797f7;
$custom-dark: #000000;
JSON
{
  "hex": "#596ef2",
  "rgb": {
    "r": 89,
    "g": 110,
    "b": 242
  },
  "hsl": {
    "h": 231.765,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59426,
    "c": 0.19796,
    "h": 272.1
  },
  "luminance": 0.19687
}

Semantic roles & 50–950 ramp

primary
#596EF2
secondary
#EDE6B9
accent
#C304E2
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #596EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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