#596297#596297

#596297 is a mid, moderate blue. Relative luminance 0.131; OKLCH L 51.2% C 0.085 H 275.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#596297
RGBrgb(89, 98, 151)
HSLhsl(231, 26%, 47%)
HSVhsv(231, 41%, 59%)
CMYKcmyk(41.1%, 35.1%, 0%, 40.8%)
CIE-LABlab(42.90, 10.62, -30.10)
CIE-LCHlch(42.90, 31.92, 289.43°)
OKLaboklab(51.17% 0.0083 -0.0843)
OKLCHoklch(51.17% 0.085 275.6)
XYZxyz(14.0718, 13.0929, 31.0579)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#596297 #978E59
analogous
#598197 #596297 #6F5997
triadic
#596297 #975962 #629759
tetradic
#596297 #975981 #978E59 #59976F
square
#596297 #975981 #978E59 #59976F
split-complementary
#596297 #976F59 #819759
monochromatic
#2C304A #424970 #596297 #7C83B2 #A2A8C8

Accessibility & contrast

On white

5.80
#596297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#596297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #596297
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##596297#FFFFFF#000000##FFFFFF
##5962971.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506899
Deuteranopia (green-blind)
#4B6396
Tritanopia (blue-blind)
#466D75
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #596297;
/* rgb */ color: rgb(89, 98, 151);
/* oklch */ color: oklch(51.2% 0.085 275.6);
Tailwind
colors: {
  custom: {
    50: '#8a8eb6',
    500: '#596297',
    950: '#000000',
  },
}
SCSS
$custom: #596297;
$custom-light: #8a8eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#596297",
  "rgb": {
    "r": 89,
    "g": 98,
    "b": 151
  },
  "hsl": {
    "h": 231.29,
    "s": 25.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51169,
    "c": 0.08476,
    "h": 275.6
  },
  "luminance": 0.13094
}

Semantic roles & 50–950 ramp

primary
#596297
secondary
#B6B196
accent
#B566C2
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0C11
muted
#7D7D80

Preview Lab

Preview with #596297

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

Preview Lab → · Contrast checker → · Palette generator →

#596297 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva