#595FB8#595FB8

#595FB8 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.5% C 0.138 H 277.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#595FB8
RGBrgb(89, 95, 184)
HSLhsl(236, 40%, 54%)
HSVhsv(236, 52%, 72%)
CMYKcmyk(51.6%, 48.4%, 0%, 27.8%)
CIE-LABlab(43.90, 22.76, -47.99)
CIE-LCHlch(43.90, 53.12, 295.37°)
OKLaboklab(52.52% 0.0183 -0.1366)
OKLCHoklch(52.52% 0.138 277.6)
XYZxyz(16.8611, 13.7679, 47.1071)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595FB8 #B8B259
analogous
#598EB8 #595FB8 #8259B8
triadic
#595FB8 #B8595F #5FB859
tetradic
#595FB8 #B8598E #B8B259 #59B882
square
#595FB8 #B8598E #B8B259 #59B882
split-complementary
#595FB8 #B88259 #8EB859
monochromatic
#2D3169 #3F4594 #595FB8 #8488CA #AFB2DD

Accessibility & contrast

On white

5.59
#595FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#595FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595FB8
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595FB8#FFFFFF#000000##FFFFFF
##595FB81.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366CBB
Deuteranopia (green-blind)
#2D64B6
Tritanopia (blue-blind)
#317283
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #595fb8;
/* rgb */ color: rgb(89, 95, 184);
/* oklch */ color: oklch(52.5% 0.138 277.6);
Tailwind
colors: {
  custom: {
    50: '#8e8cce',
    500: '#595fb8',
    950: '#000000',
  },
}
SCSS
$custom: #595fb8;
$custom-light: #8e8cce;
$custom-dark: #000000;
JSON
{
  "hex": "#595fb8",
  "rgb": {
    "r": 89,
    "g": 95,
    "b": 184
  },
  "hsl": {
    "h": 236.211,
    "s": 40.084,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52517,
    "c": 0.13787,
    "h": 277.6
  },
  "luminance": 0.13769
}

Semantic roles & 50–950 ramp

primary
#595FB8
secondary
#CBC8A2
accent
#C858D0
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #595FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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