#595FA5#595FA5

#595FA5 is a mid, moderate blue. Relative luminance 0.130; OKLCH L 51.3% C 0.110 H 278.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#595FA5
RGBrgb(89, 95, 165)
HSLhsl(235, 30%, 50%)
HSVhsv(235, 46%, 65%)
CMYKcmyk(46.1%, 42.4%, 0%, 35.3%)
CIE-LABlab(42.80, 16.76, -38.58)
CIE-LCHlch(42.80, 42.06, 293.49°)
OKLaboklab(51.33% 0.0154 -0.1091)
OKLCHoklch(51.33% 0.11 278.1)
XYZxyz(15.0015, 13.0241, 37.3135)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595FA5 #A59F59
analogous
#5985A5 #595FA5 #7959A5
triadic
#595FA5 #A5595F #5FA559
tetradic
#595FA5 #A55985 #A59F59 #59A579
square
#595FA5 #A55985 #A59F59 #59A579
split-complementary
#595FA5 #A57959 #85A559
monochromatic
#2E3155 #44487D #595FA5 #8085BB #A8ABD0

Accessibility & contrast

On white

5.83
#595FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #595FA5
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595FA5#FFFFFF#000000##FFFFFF
##595FA51.005.833.615.83
#FFFFFF5.831.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4468A8
Deuteranopia (green-blind)
#3F62A3
Tritanopia (blue-blind)
#3F6D7A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #595fa5;
/* rgb */ color: rgb(89, 95, 165);
/* oklch */ color: oklch(51.3% 0.110 278.1);
Tailwind
colors: {
  custom: {
    50: '#8c8cc0',
    500: '#595fa5',
    950: '#000000',
  },
}
SCSS
$custom: #595fa5;
$custom-light: #8c8cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#595fa5",
  "rgb": {
    "r": 89,
    "g": 95,
    "b": 165
  },
  "hsl": {
    "h": 235.263,
    "s": 29.921,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51326,
    "c": 0.11015,
    "h": 278.1
  },
  "luminance": 0.13025
}

Semantic roles & 50–950 ramp

primary
#595FA5
secondary
#BEBB9C
accent
#BE62C6
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #595FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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