#595CA8#595CA8

#595CA8 is a mid, moderate blue. Relative luminance 0.126; OKLCH L 50.9% C 0.119 H 279.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#595CA8
RGBrgb(89, 92, 168)
HSLhsl(238, 31%, 50%)
HSVhsv(238, 47%, 66%)
CMYKcmyk(47%, 45.2%, 0%, 34.1%)
CIE-LABlab(42.16, 19.58, -41.37)
CIE-LCHlch(42.16, 45.77, 295.33°)
OKLaboklab(50.9% 0.0198 -0.1172)
OKLCHoklch(50.9% 0.119 279.6)
XYZxyz(15.0127, 12.6045, 38.6801)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595CA8 #A8A559
analogous
#5983A8 #595CA8 #7E59A8
triadic
#595CA8 #A8595C #5CA859
tetradic
#595CA8 #A85983 #A8A559 #59A87E
square
#595CA8 #A85983 #A8A559 #59A87E
split-complementary
#595CA8 #A87E59 #83A859
monochromatic
#2E3058 #434680 #595CA8 #8183BD #A9ABD2

Accessibility & contrast

On white

5.96
#595CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#595CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595CA8
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595CA8#FFFFFF#000000##FFFFFF
##595CA81.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E67AB
Deuteranopia (green-blind)
#3861A6
Tritanopia (blue-blind)
#3D6C7A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #595ca8;
/* rgb */ color: rgb(89, 92, 168);
/* oklch */ color: oklch(50.9% 0.119 279.6);
Tailwind
colors: {
  custom: {
    50: '#8c8ac2',
    500: '#595ca8',
    950: '#000000',
  },
}
SCSS
$custom: #595ca8;
$custom-light: #8c8ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#595ca8",
  "rgb": {
    "r": 89,
    "g": 92,
    "b": 168
  },
  "hsl": {
    "h": 237.722,
    "s": 31.225,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50895,
    "c": 0.11889,
    "h": 279.6
  },
  "luminance": 0.12605
}

Semantic roles & 50–950 ramp

primary
#595CA8
secondary
#C0BF9D
accent
#C460C7
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #595CA8

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

Preview Lab → · Contrast checker → · Palette generator →

#595CA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva