#596298#596298

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

Color values

HEX#596298
RGBrgb(89, 98, 152)
HSLhsl(231, 26%, 47%)
HSVhsv(231, 41%, 60%)
CMYKcmyk(41.4%, 35.5%, 0%, 40.4%)
CIE-LABlab(42.95, 10.92, -30.62)
CIE-LCHlch(42.95, 32.50, 289.62°)
OKLaboklab(51.22% 0.0086 -0.0859)
OKLCHoklch(51.22% 0.086 275.7)
XYZxyz(14.1533, 13.1256, 31.4874)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#596298 #988F59
analogous
#598198 #596298 #705998
triadic
#596298 #985962 #629859
tetradic
#596298 #985981 #988F59 #599870
square
#596298 #985981 #988F59 #599870
split-complementary
#596298 #987059 #819859
monochromatic
#2C304B #424971 #596298 #7C84B2 #A3A8C9

Accessibility & contrast

On white

5.79
#596298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#596298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #596298
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##596298#FFFFFF#000000##FFFFFF
##5962981.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50689A
Deuteranopia (green-blind)
#4B6397
Tritanopia (blue-blind)
#456D76
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #596298;
/* rgb */ color: rgb(89, 98, 152);
/* oklch */ color: oklch(51.2% 0.086 275.7);
Tailwind
colors: {
  custom: {
    50: '#8a8eb6',
    500: '#596298',
    950: '#000000',
  },
}
SCSS
$custom: #596298;
$custom-light: #8a8eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#596298",
  "rgb": {
    "r": 89,
    "g": 98,
    "b": 152
  },
  "hsl": {
    "h": 231.429,
    "s": 26.141,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51223,
    "c": 0.08629,
    "h": 275.7
  },
  "luminance": 0.13126
}

Semantic roles & 50–950 ramp

primary
#596298
secondary
#B7B296
accent
#B565C3
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0C11
muted
#7D7D80

Preview Lab

Preview with #596298

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

Preview Lab → · Contrast checker → · Palette generator →

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