#595BAF#595BAF

#595BAF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.131 H 279.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#595BAF
RGBrgb(89, 91, 175)
HSLhsl(239, 35%, 52%)
HSVhsv(239, 49%, 69%)
CMYKcmyk(49.1%, 48%, 0%, 31.4%)
CIE-LABlab(42.31, 22.41, -45.26)
CIE-LCHlch(42.31, 50.51, 296.34°)
OKLaboklab(51.14% 0.022 -0.1287)
OKLCHoklch(51.14% 0.131 279.7)
XYZxyz(15.5964, 12.7003, 42.1787)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595BAF #AFAD59
analogous
#5986AF #595BAF #8259AF
triadic
#595BAF #AF595B #5BAF59
tetradic
#595BAF #AF5986 #AFAD59 #59AF82
square
#595BAF #AF5986 #AFAD59 #59AF82
split-complementary
#595BAF #AF8259 #86AF59
monochromatic
#2E2F60 #424489 #595BAF #8284C3 #ACADD7

Accessibility & contrast

On white

5.93
#595BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#595BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595BAF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595BAF#FFFFFF#000000##FFFFFF
##595BAF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B2
Deuteranopia (green-blind)
#3061AD
Tritanopia (blue-blind)
#396D7C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #595baf;
/* rgb */ color: rgb(89, 91, 175);
/* oklch */ color: oklch(51.1% 0.131 279.7);
Tailwind
colors: {
  custom: {
    50: '#8d89c7',
    500: '#595baf',
    950: '#000000',
  },
}
SCSS
$custom: #595baf;
$custom-light: #8d89c7;
$custom-dark: #000000;
JSON
{
  "hex": "#595baf",
  "rgb": {
    "r": 89,
    "g": 91,
    "b": 175
  },
  "hsl": {
    "h": 238.605,
    "s": 34.959,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5114,
    "c": 0.13052,
    "h": 279.7
  },
  "luminance": 0.12701
}

Semantic roles & 50–950 ramp

primary
#595BAF
secondary
#C5C49F
accent
#C85DCB
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #595BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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