#5959A2#5959A2

#5959A2 is a mid, moderate blue. Relative luminance 0.119; OKLCH L 49.9% C 0.114 H 281.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5959A2
RGBrgb(89, 89, 162)
HSLhsl(240, 29%, 49%)
HSVhsv(240, 45%, 64%)
CMYKcmyk(45.1%, 45.1%, 0%, 36.5%)
CIE-LABlab(41.02, 19.61, -39.63)
CIE-LCHlch(41.02, 44.21, 296.33°)
OKLaboklab(49.92% 0.0227 -0.1121)
OKLCHoklch(49.92% 0.114 281.4)
XYZxyz(14.2119, 11.8766, 35.7190)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5959A2 #A2A259
analogous
#597EA2 #5959A2 #7E59A2
triadic
#5959A2 #A25959 #59A259
tetradic
#5959A2 #A2597E #A2A259 #59A27E
square
#5959A2 #A2597E #A2A259 #59A27E
split-complementary
#5959A2 #A27E59 #7EA259
monochromatic
#2E2E53 #43437B #5959A2 #7F7FB9 #A7A7CF

Accessibility & contrast

On white

6.22
#5959A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5959A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5959A2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5959A2#FFFFFF#000000##FFFFFF
##5959A21.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D63A5
Deuteranopia (green-blind)
#395EA0
Tritanopia (blue-blind)
#416875
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5959a2;
/* rgb */ color: rgb(89, 89, 162);
/* oklch */ color: oklch(49.9% 0.114 281.4);
Tailwind
colors: {
  custom: {
    50: '#8c87be',
    500: '#5959a2',
    950: '#000000',
  },
}
SCSS
$custom: #5959a2;
$custom-light: #8c87be;
$custom-dark: #000000;
JSON
{
  "hex": "#5959a2",
  "rgb": {
    "r": 89,
    "g": 89,
    "b": 162
  },
  "hsl": {
    "h": 240,
    "s": 29.084,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49917,
    "c": 0.11442,
    "h": 281.4
  },
  "luminance": 0.11877
}

Semantic roles & 50–950 ramp

primary
#5959A2
secondary
#BCBC9A
accent
#C562C5
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #5959A2

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

Preview Lab → · Contrast checker → · Palette generator →

#5959A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva