#595FB2#595FB2

#595FB2 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.1% C 0.129 H 277.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#595FB2
RGBrgb(89, 95, 178)
HSLhsl(236, 37%, 52%)
HSVhsv(236, 50%, 70%)
CMYKcmyk(50%, 46.6%, 0%, 30.2%)
CIE-LABlab(43.54, 20.85, -45.06)
CIE-LCHlch(43.54, 49.65, 294.83°)
OKLaboklab(52.13% 0.0175 -0.128)
OKLCHoklch(52.13% 0.129 277.8)
XYZxyz(16.2454, 13.5217, 43.8648)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595FB2 #B2AC59
analogous
#598CB2 #595FB2 #7F59B2
triadic
#595FB2 #B2595F #5FB259
tetradic
#595FB2 #B2598C #B2AC59 #59B27F
square
#595FB2 #B2598C #B2AC59 #59B27F
split-complementary
#595FB2 #B27F59 #8CB259
monochromatic
#2E3163 #41468D #595FB2 #8387C5 #ADB0D9

Accessibility & contrast

On white

5.67
#595FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#595FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595FB2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595FB2#FFFFFF#000000##FFFFFF
##595FB21.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6BB5
Deuteranopia (green-blind)
#3363B0
Tritanopia (blue-blind)
#367180
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #595fb2;
/* rgb */ color: rgb(89, 95, 178);
/* oklch */ color: oklch(52.1% 0.129 277.8);
Tailwind
colors: {
  custom: {
    50: '#8e8cc9',
    500: '#595fb2',
    950: '#000000',
  },
}
SCSS
$custom: #595fb2;
$custom-light: #8e8cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#595fb2",
  "rgb": {
    "r": 89,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 235.955,
    "s": 36.626,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52129,
    "c": 0.12922,
    "h": 277.8
  },
  "luminance": 0.13523
}

Semantic roles & 50–950 ramp

primary
#595FB2
secondary
#C7C4A0
accent
#C55BCD
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #595FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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