#596BB2#596BB2

#596BB2 is a mid, moderate blue. Relative luminance 0.159; OKLCH L 54.6% C 0.113 H 271.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#596BB2
RGBrgb(89, 107, 178)
HSLhsl(228, 37%, 52%)
HSVhsv(228, 50%, 70%)
CMYKcmyk(50%, 39.9%, 0%, 30.2%)
CIE-LABlab(46.78, 13.36, -39.90)
CIE-LCHlch(46.78, 42.08, 288.51°)
OKLaboklab(54.61% 0.0029 -0.1128)
OKLCHoklch(54.61% 0.113 271.5)
XYZxyz(17.4108, 15.8525, 44.2532)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#596BB2 #B2A059
analogous
#5998B2 #596BB2 #7359B2
triadic
#596BB2 #B2596B #6BB259
tetradic
#596BB2 #B25998 #B2A059 #59B273
square
#596BB2 #B25998 #B2A059 #59B273
split-complementary
#596BB2 #B27359 #98B259
monochromatic
#2E3963 #41508D #596BB2 #8390C5 #ADB6D9

Accessibility & contrast

On white

5.04
#596BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#596BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #596BB2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##596BB2#FFFFFF#000000##FFFFFF
##596BB21.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)
#4F73B5
Deuteranopia (green-blind)
#466BB0
Tritanopia (blue-blind)
#347A86
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #596bb2;
/* rgb */ color: rgb(89, 107, 178);
/* oklch */ color: oklch(54.6% 0.113 271.5);
Tailwind
colors: {
  custom: {
    50: '#8d95c9',
    500: '#596bb2',
    950: '#000000',
  },
}
SCSS
$custom: #596bb2;
$custom-light: #8d95c9;
$custom-dark: #000000;
JSON
{
  "hex": "#596bb2",
  "rgb": {
    "r": 89,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 227.865,
    "s": 36.626,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54605,
    "c": 0.11289,
    "h": 271.5
  },
  "luminance": 0.15854
}

Semantic roles & 50–950 ramp

primary
#596BB2
secondary
#C7BFA0
accent
#B65BCD
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0D0D13
muted
#7D7E82

Preview Lab

Preview with #596BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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