#595296#595296

#595296 is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.8% C 0.107 H 286.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#595296
RGBrgb(89, 82, 150)
HSLhsl(246, 29%, 45%)
HSVhsv(246, 45%, 59%)
CMYKcmyk(40.7%, 45.3%, 0%, 41.2%)
CIE-LABlab(38.48, 20.39, -36.47)
CIE-LCHlch(38.48, 41.78, 299.20°)
OKLaboklab(47.77% 0.0301 -0.1029)
OKLCHoklch(47.77% 0.107 286.3)
XYZxyz(12.6406, 10.3600, 30.1819)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595296 #8F9652
analogous
#526D96 #595296 #7B5296
triadic
#595296 #965952 #529659
tetradic
#595296 #96526D #8F9652 #52967B
square
#595296 #96526D #8F9652 #52967B
split-complementary
#595296 #967B52 #6D9652
monochromatic
#2A2747 #423C6E #595296 #7973B2 #9F9AC8

Accessibility & contrast

On white

6.84
#595296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#595296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595296
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595296#FFFFFF#000000##FFFFFF
##5952961.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395C99
Deuteranopia (green-blind)
#385994
Tritanopia (blue-blind)
#48606D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #595296;
/* rgb */ color: rgb(89, 82, 150);
/* oklch */ color: oklch(47.8% 0.107 286.3);
Tailwind
colors: {
  custom: {
    50: '#8b82b5',
    500: '#595296',
    950: '#000000',
  },
}
SCSS
$custom: #595296;
$custom-light: #8b82b5;
$custom-dark: #000000;
JSON
{
  "hex": "#595296",
  "rgb": {
    "r": 89,
    "g": 82,
    "b": 150
  },
  "hsl": {
    "h": 246.176,
    "s": 29.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47771,
    "c": 0.10726,
    "h": 286.3
  },
  "luminance": 0.1036
}

Semantic roles & 50–950 ramp

primary
#595296
secondary
#B1B58F
accent
#C662BB
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #595296

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

Preview Lab → · Contrast checker → · Palette generator →

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