#595CB1#595CB1

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

Color values

HEX#595CB1
RGBrgb(89, 92, 177)
HSLhsl(238, 36%, 52%)
HSVhsv(238, 50%, 69%)
CMYKcmyk(49.7%, 48%, 0%, 30.6%)
CIE-LABlab(42.69, 22.41, -45.83)
CIE-LCHlch(42.69, 51.01, 296.06°)
OKLaboklab(51.47% 0.021 -0.1303)
OKLCHoklch(51.47% 0.132 279.2)
XYZxyz(15.8803, 12.9516, 43.2496)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595CB1 #B1AE59
analogous
#5988B1 #595CB1 #8259B1
triadic
#595CB1 #B1595C #5CB159
tetradic
#595CB1 #B15988 #B1AE59 #59B182
square
#595CB1 #B15988 #B1AE59 #59B182
split-complementary
#595CB1 #B18259 #88B159
monochromatic
#2E3062 #41448B #595CB1 #8385C5 #ACAED8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##595CB1#FFFFFF#000000##FFFFFF
##595CB11.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)
#3768B4
Deuteranopia (green-blind)
#2F61AF
Tritanopia (blue-blind)
#376E7E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #595cb1;
/* rgb */ color: rgb(89, 92, 177);
/* oklch */ color: oklch(51.5% 0.132 279.2);
Tailwind
colors: {
  custom: {
    50: '#8e8ac9',
    500: '#595cb1',
    950: '#000000',
  },
}
SCSS
$custom: #595cb1;
$custom-light: #8e8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#595cb1",
  "rgb": {
    "r": 89,
    "g": 92,
    "b": 177
  },
  "hsl": {
    "h": 237.955,
    "s": 36.066,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51467,
    "c": 0.13199,
    "h": 279.2
  },
  "luminance": 0.12952
}

Semantic roles & 50–950 ramp

primary
#595CB1
secondary
#C6C5A0
accent
#C85CCC
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #595CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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