#595FAF#595FAF

#595FAF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.9% C 0.125 H 277.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#595FAF
RGBrgb(89, 95, 175)
HSLhsl(236, 35%, 52%)
HSVhsv(236, 49%, 69%)
CMYKcmyk(49.1%, 45.7%, 0%, 31.4%)
CIE-LABlab(43.36, 19.90, -43.58)
CIE-LCHlch(43.36, 47.91, 294.54°)
OKLaboklab(51.94% 0.0171 -0.1237)
OKLCHoklch(51.94% 0.125 277.9)
XYZxyz(15.9475, 13.4025, 42.2958)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595FAF #AFA959
analogous
#598AAF #595FAF #7E59AF
triadic
#595FAF #AF595F #5FAF59
tetradic
#595FAF #AF598A #AFA959 #59AF7E
square
#595FAF #AF598A #AFA959 #59AF7E
split-complementary
#595FAF #AF7E59 #8AAF59
monochromatic
#2E3260 #424789 #595FAF #8287C3 #ACAFD7

Accessibility & contrast

On white

5.71
#595FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#595FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595FAF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595FAF#FFFFFF#000000##FFFFFF
##595FAF1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6AB2
Deuteranopia (green-blind)
#3663AD
Tritanopia (blue-blind)
#38707E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #595faf;
/* rgb */ color: rgb(89, 95, 175);
/* oklch */ color: oklch(51.9% 0.125 277.9);
Tailwind
colors: {
  custom: {
    50: '#8d8cc7',
    500: '#595faf',
    950: '#000000',
  },
}
SCSS
$custom: #595faf;
$custom-light: #8d8cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#595faf",
  "rgb": {
    "r": 89,
    "g": 95,
    "b": 175
  },
  "hsl": {
    "h": 235.814,
    "s": 34.959,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51939,
    "c": 0.12487,
    "h": 277.9
  },
  "luminance": 0.13403
}

Semantic roles & 50–950 ramp

primary
#595FAF
secondary
#C5C29F
accent
#C35DCB
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0D0C13
muted
#7D7D82

Preview Lab

Preview with #595FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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