#595EA8#595EA8

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

Color values

HEX#595EA8
RGBrgb(89, 94, 168)
HSLhsl(236, 31%, 50%)
HSVhsv(236, 47%, 66%)
CMYKcmyk(47%, 44%, 0%, 34.1%)
CIE-LABlab(42.70, 18.33, -40.52)
CIE-LCHlch(42.70, 44.47, 294.34°)
OKLaboklab(51.3% 0.0173 -0.1147)
OKLCHoklch(51.3% 0.116 278.6)
XYZxyz(15.1883, 12.9556, 38.7386)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595EA8 #A8A359
analogous
#5985A8 #595EA8 #7C59A8
triadic
#595EA8 #A8595E #5EA859
tetradic
#595EA8 #A85985 #A8A359 #59A87C
square
#595EA8 #A85985 #A8A359 #59A87C
split-complementary
#595EA8 #A87C59 #85A859
monochromatic
#2E3158 #434780 #595EA8 #8185BD #A9ACD2

Accessibility & contrast

On white

5.85
#595EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#595EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595EA8
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595EA8#FFFFFF#000000##FFFFFF
##595EA81.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4168AB
Deuteranopia (green-blind)
#3B62A6
Tritanopia (blue-blind)
#3D6D7B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #595ea8;
/* rgb */ color: rgb(89, 94, 168);
/* oklch */ color: oklch(51.3% 0.116 278.6);
Tailwind
colors: {
  custom: {
    50: '#8c8bc2',
    500: '#595ea8',
    950: '#000000',
  },
}
SCSS
$custom: #595ea8;
$custom-light: #8c8bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#595ea8",
  "rgb": {
    "r": 89,
    "g": 94,
    "b": 168
  },
  "hsl": {
    "h": 236.203,
    "s": 31.225,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51302,
    "c": 0.11602,
    "h": 278.6
  },
  "luminance": 0.12956
}

Semantic roles & 50–950 ramp

primary
#595EA8
secondary
#C0BE9D
accent
#C160C7
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #595EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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