#595BB5#595BB5

#595BB5 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.5% C 0.139 H 279.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#595BB5
RGBrgb(89, 91, 181)
HSLhsl(239, 38%, 53%)
HSVhsv(239, 51%, 71%)
CMYKcmyk(50.8%, 49.7%, 0%, 29%)
CIE-LABlab(42.67, 24.31, -48.20)
CIE-LCHlch(42.67, 53.98, 296.76°)
OKLaboklab(51.53% 0.0227 -0.1373)
OKLCHoklch(51.53% 0.139 279.4)
XYZxyz(16.1988, 12.9413, 45.3515)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595BB5 #B5B359
analogous
#5989B5 #595BB5 #8559B5
triadic
#595BB5 #B5595B #5BB559
tetradic
#595BB5 #B55989 #B5B359 #59B585
square
#595BB5 #B55989 #B5B359 #59B585
split-complementary
#595BB5 #B58559 #89B559
monochromatic
#2E2F66 #404290 #595BB5 #8385C8 #AEAFDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##595BB5#FFFFFF#000000##FFFFFF
##595BB51.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)
#3168B8
Deuteranopia (green-blind)
#2861B3
Tritanopia (blue-blind)
#346F7F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #595bb5;
/* rgb */ color: rgb(89, 91, 181);
/* oklch */ color: oklch(51.5% 0.139 279.4);
Tailwind
colors: {
  custom: {
    50: '#8e89cc',
    500: '#595bb5',
    950: '#000000',
  },
}
SCSS
$custom: #595bb5;
$custom-light: #8e89cc;
$custom-dark: #000000;
JSON
{
  "hex": "#595bb5",
  "rgb": {
    "r": 89,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 238.696,
    "s": 38.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51534,
    "c": 0.13914,
    "h": 279.4
  },
  "luminance": 0.12942
}

Semantic roles & 50–950 ramp

primary
#595BB5
secondary
#C9C8A1
accent
#CC5ACE
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #595BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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