#595FA8#595FA8

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

Color values

HEX#595FA8
RGBrgb(89, 95, 168)
HSLhsl(235, 31%, 50%)
HSVhsv(235, 47%, 66%)
CMYKcmyk(47%, 43.5%, 0%, 34.1%)
CIE-LABlab(42.97, 17.70, -40.09)
CIE-LCHlch(42.97, 43.82, 293.82°)
OKLaboklab(51.51% 0.016 -0.1135)
OKLCHoklch(51.51% 0.115 278)
XYZxyz(15.2778, 13.1346, 38.7684)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595FA8 #A8A259
analogous
#5986A8 #595FA8 #7A59A8
triadic
#595FA8 #A8595F #5FA859
tetradic
#595FA8 #A85986 #A8A259 #59A87A
square
#595FA8 #A85986 #A8A259 #59A87A
split-complementary
#595FA8 #A87A59 #86A859
monochromatic
#2E3158 #434880 #595FA8 #8186BD #A9ACD2

Accessibility & contrast

On white

5.79
#595FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#595FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595FA8
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595FA8#FFFFFF#000000##FFFFFF
##595FA81.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4369AB
Deuteranopia (green-blind)
#3C63A6
Tritanopia (blue-blind)
#3D6E7B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #595fa8;
/* rgb */ color: rgb(89, 95, 168);
/* oklch */ color: oklch(51.5% 0.115 278.0);
Tailwind
colors: {
  custom: {
    50: '#8c8cc2',
    500: '#595fa8',
    950: '#000000',
  },
}
SCSS
$custom: #595fa8;
$custom-light: #8c8cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#595fa8",
  "rgb": {
    "r": 89,
    "g": 95,
    "b": 168
  },
  "hsl": {
    "h": 235.443,
    "s": 31.225,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51507,
    "c": 0.11459,
    "h": 278
  },
  "luminance": 0.13135
}

Semantic roles & 50–950 ramp

primary
#595FA8
secondary
#C0BD9D
accent
#C060C7
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #595FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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