#595196#595196

#595196 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.6% C 0.109 H 286.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#595196
RGBrgb(89, 81, 150)
HSLhsl(247, 30%, 45%)
HSVhsv(247, 46%, 59%)
CMYKcmyk(40.7%, 46%, 0%, 41.2%)
CIE-LABlab(38.22, 21.02, -36.89)
CIE-LCHlch(38.22, 42.46, 299.67°)
OKLaboklab(47.57% 0.0315 -0.1042)
OKLCHoklch(47.57% 0.109 286.8)
XYZxyz(12.5657, 10.2103, 30.1570)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595196 #8E9651
analogous
#516B96 #595196 #7C5196
triadic
#595196 #965951 #519659
tetradic
#595196 #96516B #8E9651 #51967C
square
#595196 #96516B #8E9651 #51967C
split-complementary
#595196 #967C51 #6B9651
monochromatic
#2A2647 #413C6E #595196 #7972B3 #9F99C8

Accessibility & contrast

On white

6.90
#595196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#595196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595196
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595196#FFFFFF#000000##FFFFFF
##5951961.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C99
Deuteranopia (green-blind)
#375894
Tritanopia (blue-blind)
#485F6C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #595196;
/* rgb */ color: rgb(89, 81, 150);
/* oklch */ color: oklch(47.6% 0.109 286.8);
Tailwind
colors: {
  custom: {
    50: '#8b82b5',
    500: '#595196',
    950: '#000000',
  },
}
SCSS
$custom: #595196;
$custom-light: #8b82b5;
$custom-dark: #000000;
JSON
{
  "hex": "#595196",
  "rgb": {
    "r": 89,
    "g": 81,
    "b": 150
  },
  "hsl": {
    "h": 246.957,
    "s": 29.87,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47571,
    "c": 0.10883,
    "h": 286.8
  },
  "luminance": 0.10211
}

Semantic roles & 50–950 ramp

primary
#595196
secondary
#B0B58E
accent
#C662BA
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #595196

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

Preview Lab → · Contrast checker → · Palette generator →

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