#595EA6#595EA6

#595EA6 is a mid, moderate blue. Relative luminance 0.129; OKLCH L 51.2% C 0.113 H 278.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#595EA6
RGBrgb(89, 94, 166)
HSLhsl(236, 30%, 50%)
HSVhsv(236, 46%, 65%)
CMYKcmyk(46.4%, 43.4%, 0%, 34.9%)
CIE-LABlab(42.58, 17.70, -39.51)
CIE-LCHlch(42.58, 43.30, 294.13°)
OKLaboklab(51.18% 0.0169 -0.1118)
OKLCHoklch(51.18% 0.113 278.6)
XYZxyz(15.0034, 12.8817, 37.7649)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595EA6 #A6A159
analogous
#5984A6 #595EA6 #7B59A6
triadic
#595EA6 #A6595E #5EA659
tetradic
#595EA6 #A65984 #A6A159 #59A67B
square
#595EA6 #A65984 #A6A159 #59A67B
split-complementary
#595EA6 #A67B59 #84A659
monochromatic
#2E3156 #44477E #595EA6 #8185BB #A9ABD1

Accessibility & contrast

On white

5.87
#595EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#595EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595EA6
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595EA6#FFFFFF#000000##FFFFFF
##595EA61.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4268A9
Deuteranopia (green-blind)
#3D62A4
Tritanopia (blue-blind)
#3E6D7A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #595ea6;
/* rgb */ color: rgb(89, 94, 166);
/* oklch */ color: oklch(51.2% 0.113 278.6);
Tailwind
colors: {
  custom: {
    50: '#8c8bc1',
    500: '#595ea6',
    950: '#000000',
  },
}
SCSS
$custom: #595ea6;
$custom-light: #8c8bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#595ea6",
  "rgb": {
    "r": 89,
    "g": 94,
    "b": 166
  },
  "hsl": {
    "h": 236.104,
    "s": 30.196,
    "l": 50
  },
  "oklch": {
    "l": 0.5118,
    "c": 0.11306,
    "h": 278.6
  },
  "luminance": 0.12882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #595EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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