#595299#595299

#595299 is a mid, moderate blue. Relative luminance 0.105; OKLCH L 48.0% C 0.112 H 285.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#595299
RGBrgb(89, 82, 153)
HSLhsl(246, 30%, 46%)
HSVhsv(246, 46%, 60%)
CMYKcmyk(41.8%, 46.4%, 0%, 40%)
CIE-LABlab(38.65, 21.29, -38.01)
CIE-LCHlch(38.65, 43.56, 299.25°)
OKLaboklab(47.96% 0.0306 -0.1074)
OKLCHoklch(47.96% 0.112 285.9)
XYZxyz(12.8853, 10.4579, 31.4705)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595299 #929952
analogous
#526E99 #595299 #7C5299
triadic
#595299 #995952 #529959
tetradic
#595299 #99526E #929952 #52997C
square
#595299 #99526E #929952 #52997C
split-complementary
#595299 #997C52 #6E9952
monochromatic
#2B2749 #423D71 #595299 #7A74B4 #A09CCA

Accessibility & contrast

On white

6.79
#595299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#595299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595299
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595299#FFFFFF#000000##FFFFFF
##5952991.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375D9C
Deuteranopia (green-blind)
#365997
Tritanopia (blue-blind)
#46606E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #595299;
/* rgb */ color: rgb(89, 82, 153);
/* oklch */ color: oklch(48.0% 0.112 285.9);
Tailwind
colors: {
  custom: {
    50: '#8b82b7',
    500: '#595299',
    950: '#000000',
  },
}
SCSS
$custom: #595299;
$custom-light: #8b82b7;
$custom-dark: #000000;
JSON
{
  "hex": "#595299",
  "rgb": {
    "r": 89,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 245.915,
    "s": 30.213,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47956,
    "c": 0.1117,
    "h": 285.9
  },
  "luminance": 0.10458
}

Semantic roles & 50–950 ramp

primary
#595299
secondary
#B3B790
accent
#C661BC
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #595299

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

Preview Lab → · Contrast checker → · Palette generator →

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