#595CB5#595CB5

#595CB5 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.7% C 0.138 H 279.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#595CB5
RGBrgb(89, 92, 181)
HSLhsl(238, 38%, 53%)
HSVhsv(238, 51%, 71%)
CMYKcmyk(50.8%, 49.2%, 0%, 29%)
CIE-LABlab(42.93, 23.68, -47.78)
CIE-LCHlch(42.93, 53.33, 296.36°)
OKLaboklab(51.73% 0.0215 -0.1361)
OKLCHoklch(51.73% 0.138 279)
XYZxyz(16.2849, 13.1134, 45.3801)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595CB5 #B5B259
analogous
#598AB5 #595CB5 #8459B5
triadic
#595CB5 #B5595C #5CB559
tetradic
#595CB5 #B5598A #B5B259 #59B584
square
#595CB5 #B5598A #B5B259 #59B584
split-complementary
#595CB5 #B58459 #8AB559
monochromatic
#2E2F66 #404390 #595CB5 #8386C8 #AEAFDB

Accessibility & contrast

On white

5.80
#595CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#595CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595CB5
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595CB5#FFFFFF#000000##FFFFFF
##595CB51.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3369B8
Deuteranopia (green-blind)
#2A62B3
Tritanopia (blue-blind)
#346F80
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #595cb5;
/* rgb */ color: rgb(89, 92, 181);
/* oklch */ color: oklch(51.7% 0.138 279.0);
Tailwind
colors: {
  custom: {
    50: '#8e8acc',
    500: '#595cb5',
    950: '#000000',
  },
}
SCSS
$custom: #595cb5;
$custom-light: #8e8acc;
$custom-dark: #000000;
JSON
{
  "hex": "#595cb5",
  "rgb": {
    "r": 89,
    "g": 92,
    "b": 181
  },
  "hsl": {
    "h": 238.043,
    "s": 38.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5173,
    "c": 0.13774,
    "h": 279
  },
  "luminance": 0.13114
}

Semantic roles & 50–950 ramp

primary
#595CB5
secondary
#C9C7A1
accent
#CA5ACE
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #595CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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