#595FA2#595FA2

#595FA2 is a mid, moderate blue. Relative luminance 0.129; OKLCH L 51.1% C 0.106 H 278.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#595FA2
RGBrgb(89, 95, 162)
HSLhsl(235, 29%, 49%)
HSVhsv(235, 45%, 64%)
CMYKcmyk(45.1%, 41.4%, 0%, 36.5%)
CIE-LABlab(42.64, 15.84, -37.06)
CIE-LCHlch(42.64, 40.30, 293.14°)
OKLaboklab(51.15% 0.0149 -0.1046)
OKLCHoklch(51.15% 0.106 278.1)
XYZxyz(14.7317, 12.9162, 35.8923)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595FA2 #A29C59
analogous
#5984A2 #595FA2 #7859A2
triadic
#595FA2 #A2595F #5FA259
tetradic
#595FA2 #A25984 #A29C59 #59A278
square
#595FA2 #A25984 #A29C59 #59A278
split-complementary
#595FA2 #A27859 #84A259
monochromatic
#2E3153 #43487B #595FA2 #7F84B9 #A7AACF

Accessibility & contrast

On white

5.86
#595FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #595FA2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595FA2#FFFFFF#000000##FFFFFF
##595FA21.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4668A5
Deuteranopia (green-blind)
#4162A0
Tritanopia (blue-blind)
#406D78
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #595fa2;
/* rgb */ color: rgb(89, 95, 162);
/* oklch */ color: oklch(51.1% 0.106 278.1);
Tailwind
colors: {
  custom: {
    50: '#8c8cbe',
    500: '#595fa2',
    950: '#000000',
  },
}
SCSS
$custom: #595fa2;
$custom-light: #8c8cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#595fa2",
  "rgb": {
    "r": 89,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 235.068,
    "s": 29.084,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51149,
    "c": 0.10567,
    "h": 278.1
  },
  "luminance": 0.12917
}

Semantic roles & 50–950 ramp

primary
#595FA2
secondary
#BCBA9A
accent
#BD62C5
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #595FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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