#595BBB#595BBB

#595BBB is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.9% C 0.148 H 279.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#595BBB
RGBrgb(89, 91, 187)
HSLhsl(239, 42%, 54%)
HSVhsv(239, 52%, 73%)
CMYKcmyk(52.4%, 51.3%, 0%, 26.7%)
CIE-LABlab(43.05, 26.22, -51.10)
CIE-LCHlch(43.05, 57.43, 297.17°)
OKLaboklab(51.94% 0.0232 -0.1458)
OKLCHoklch(51.94% 0.148 279)
XYZxyz(16.8278, 13.1929, 48.6638)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595BBB #BBB959
analogous
#598CBB #595BBB #8859BB
triadic
#595BBB #BB595B #5BBB59
tetradic
#595BBB #BB598C #BBB959 #59BB88
square
#595BBB #BB598C #BBB959 #59BB88
split-complementary
#595BBB #BB8859 #8CBB59
monochromatic
#2D2E6D #3E4098 #595BBB #8486CD #B0B1DF

Accessibility & contrast

On white

5.77
#595BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#595BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595BBB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595BBB#FFFFFF#000000##FFFFFF
##595BBB1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6ABE
Deuteranopia (green-blind)
#1F62B9
Tritanopia (blue-blind)
#2F7082
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #595bbb;
/* rgb */ color: rgb(89, 91, 187);
/* oklch */ color: oklch(51.9% 0.148 279.0);
Tailwind
colors: {
  custom: {
    50: '#8f89d0',
    500: '#595bbb',
    950: '#000000',
  },
}
SCSS
$custom: #595bbb;
$custom-light: #8f89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#595bbb",
  "rgb": {
    "r": 89,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 238.776,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5194,
    "c": 0.14764,
    "h": 279
  },
  "luminance": 0.13194
}

Semantic roles & 50–950 ramp

primary
#595BBB
secondary
#CDCCA3
accent
#CF56D2
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #595BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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