#595FA6#595FA6

#595FA6 is a mid, moderate blue. Relative luminance 0.131; OKLCH L 51.4% C 0.112 H 278.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#595FA6
RGBrgb(89, 95, 166)
HSLhsl(235, 30%, 50%)
HSVhsv(235, 46%, 65%)
CMYKcmyk(46.4%, 42.8%, 0%, 34.9%)
CIE-LABlab(42.85, 17.07, -39.08)
CIE-LCHlch(42.85, 42.65, 293.60°)
OKLaboklab(51.39% 0.0156 -0.1105)
OKLCHoklch(51.39% 0.112 278)
XYZxyz(15.0929, 13.0607, 37.7947)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595FA6 #A6A059
analogous
#5985A6 #595FA6 #7A59A6
triadic
#595FA6 #A6595F #5FA659
tetradic
#595FA6 #A65985 #A6A059 #59A67A
square
#595FA6 #A65985 #A6A059 #59A67A
split-complementary
#595FA6 #A67A59 #85A659
monochromatic
#2E3156 #44487E #595FA6 #8185BB #A9ACD1

Accessibility & contrast

On white

5.81
#595FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#595FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595FA6
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595FA6#FFFFFF#000000##FFFFFF
##595FA61.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4468A9
Deuteranopia (green-blind)
#3E62A4
Tritanopia (blue-blind)
#3E6E7A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #595fa6;
/* rgb */ color: rgb(89, 95, 166);
/* oklch */ color: oklch(51.4% 0.112 278.0);
Tailwind
colors: {
  custom: {
    50: '#8c8cc1',
    500: '#595fa6',
    950: '#000000',
  },
}
SCSS
$custom: #595fa6;
$custom-light: #8c8cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#595fa6",
  "rgb": {
    "r": 89,
    "g": 95,
    "b": 166
  },
  "hsl": {
    "h": 235.325,
    "s": 30.196,
    "l": 50
  },
  "oklch": {
    "l": 0.51386,
    "c": 0.11163,
    "h": 278
  },
  "luminance": 0.13061
}

Semantic roles & 50–950 ramp

primary
#595FA6
secondary
#BFBC9C
accent
#BF61C6
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #595FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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