#595CB2#595CB2

#595CB2 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.5% C 0.133 H 279.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#595CB2
RGBrgb(89, 92, 178)
HSLhsl(238, 37%, 52%)
HSVhsv(238, 50%, 70%)
CMYKcmyk(50%, 48.3%, 0%, 30.2%)
CIE-LABlab(42.75, 22.73, -46.32)
CIE-LCHlch(42.75, 51.59, 296.14°)
OKLaboklab(51.53% 0.0211 -0.1317)
OKLCHoklch(51.53% 0.133 279.1)
XYZxyz(15.9804, 12.9916, 43.7764)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595CB2 #B2AF59
analogous
#5988B2 #595CB2 #8359B2
triadic
#595CB2 #B2595C #5CB259
tetradic
#595CB2 #B25988 #B2AF59 #59B283
square
#595CB2 #B25988 #B2AF59 #59B283
split-complementary
#595CB2 #B28359 #88B259
monochromatic
#2E3063 #41448D #595CB2 #8385C5 #ADAED9

Accessibility & contrast

On white

5.84
#595CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#595CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595CB2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595CB2#FFFFFF#000000##FFFFFF
##595CB21.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3668B5
Deuteranopia (green-blind)
#2E62B0
Tritanopia (blue-blind)
#376F7E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #595cb2;
/* rgb */ color: rgb(89, 92, 178);
/* oklch */ color: oklch(51.5% 0.133 279.1);
Tailwind
colors: {
  custom: {
    50: '#8e8ac9',
    500: '#595cb2',
    950: '#000000',
  },
}
SCSS
$custom: #595cb2;
$custom-light: #8e8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#595cb2",
  "rgb": {
    "r": 89,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 237.978,
    "s": 36.626,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51532,
    "c": 0.13344,
    "h": 279.1
  },
  "luminance": 0.12992
}

Semantic roles & 50–950 ramp

primary
#595CB2
secondary
#C7C5A0
accent
#C95BCD
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #595CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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