#595EB1#595EB1

#595EB1 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.9% C 0.129 H 278.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#595EB1
RGBrgb(89, 94, 177)
HSLhsl(237, 36%, 52%)
HSVhsv(237, 50%, 69%)
CMYKcmyk(49.7%, 46.9%, 0%, 30.6%)
CIE-LABlab(43.22, 21.16, -44.99)
CIE-LCHlch(43.22, 49.71, 295.19°)
OKLaboklab(51.87% 0.0186 -0.1278)
OKLCHoklch(51.87% 0.129 278.3)
XYZxyz(16.0559, 13.3027, 43.3081)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595EB1 #B1AC59
analogous
#598AB1 #595EB1 #8059B1
triadic
#595EB1 #B1595E #5EB159
tetradic
#595EB1 #B1598A #B1AC59 #59B180
square
#595EB1 #B1598A #B1AC59 #59B180
split-complementary
#595EB1 #B18059 #8AB159
monochromatic
#2E3162 #41468B #595EB1 #8386C5 #ACAFD8

Accessibility & contrast

On white

5.74
#595EB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#595EB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595EB1
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595EB1#FFFFFF#000000##FFFFFF
##595EB11.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6AB4
Deuteranopia (green-blind)
#3363AF
Tritanopia (blue-blind)
#37707F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #595eb1;
/* rgb */ color: rgb(89, 94, 177);
/* oklch */ color: oklch(51.9% 0.129 278.3);
Tailwind
colors: {
  custom: {
    50: '#8d8bc9',
    500: '#595eb1',
    950: '#000000',
  },
}
SCSS
$custom: #595eb1;
$custom-light: #8d8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#595eb1",
  "rgb": {
    "r": 89,
    "g": 94,
    "b": 177
  },
  "hsl": {
    "h": 236.591,
    "s": 36.066,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51865,
    "c": 0.12918,
    "h": 278.3
  },
  "luminance": 0.13304
}

Semantic roles & 50–950 ramp

primary
#595EB1
secondary
#C6C4A0
accent
#C65CCC
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #595EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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