#595BBA#595BBA

#595BBA is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.9% C 0.146 H 279.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#595BBA
RGBrgb(89, 91, 186)
HSLhsl(239, 41%, 54%)
HSVhsv(239, 52%, 73%)
CMYKcmyk(52.2%, 51.1%, 0%, 27.1%)
CIE-LABlab(42.99, 25.90, -50.62)
CIE-LCHlch(42.99, 56.86, 297.10°)
OKLaboklab(51.87% 0.0231 -0.1444)
OKLCHoklch(51.87% 0.146 279.1)
XYZxyz(16.7211, 13.1502, 48.1020)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595BBA #BAB859
analogous
#598CBA #595BBA #8859BA
triadic
#595BBA #BA595B #5BBA59
tetradic
#595BBA #BA598C #BAB859 #59BA88
square
#595BBA #BA598C #BAB859 #59BA88
split-complementary
#595BBA #BA8859 #8CBA59
monochromatic
#2D2E6C #3F4197 #595BBA #8486CC #AFB0DE

Accessibility & contrast

On white

5.78
#595BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#595BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595BBA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595BBA#FFFFFF#000000##FFFFFF
##595BBA1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C69BD
Deuteranopia (green-blind)
#2062B8
Tritanopia (blue-blind)
#307082
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #595bba;
/* rgb */ color: rgb(89, 91, 186);
/* oklch */ color: oklch(51.9% 0.146 279.1);
Tailwind
colors: {
  custom: {
    50: '#8f89cf',
    500: '#595bba',
    950: '#000000',
  },
}
SCSS
$custom: #595bba;
$custom-light: #8f89cf;
$custom-dark: #000000;
JSON
{
  "hex": "#595bba",
  "rgb": {
    "r": 89,
    "g": 91,
    "b": 186
  },
  "hsl": {
    "h": 238.763,
    "s": 41.277,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51872,
    "c": 0.14623,
    "h": 279.1
  },
  "luminance": 0.13151
}

Semantic roles & 50–950 ramp

primary
#595BBA
secondary
#CCCBA3
accent
#CF57D1
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #595BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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