#5958AF#5958AF

#5958AF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.6% C 0.135 H 281.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5958AF
RGBrgb(89, 88, 175)
HSLhsl(241, 35%, 52%)
HSVhsv(241, 50%, 69%)
CMYKcmyk(49.1%, 49.7%, 0%, 31.4%)
CIE-LABlab(41.53, 24.29, -46.51)
CIE-LCHlch(41.53, 52.47, 297.58°)
OKLaboklab(50.55% 0.0256 -0.1323)
OKLCHoklch(50.55% 0.135 281)
XYZxyz(15.3451, 12.1976, 42.0949)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5958AF #AEAF58
analogous
#5883AF #5958AF #8558AF
triadic
#5958AF #AF5958 #58AF59
tetradic
#5958AF #AF5883 #AEAF58 #58AF85
square
#5958AF #AF5883 #AEAF58 #58AF85
split-complementary
#5958AF #AF8558 #83AF58
monochromatic
#2E2E5F #424188 #5958AF #8281C3 #ABABD7

Accessibility & contrast

On white

6.11
#5958AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5958AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5958AF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5958AF#FFFFFF#000000##FFFFFF
##5958AF1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#2A5FAD
Tritanopia (blue-blind)
#396B7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5958af;
/* rgb */ color: rgb(89, 88, 175);
/* oklch */ color: oklch(50.6% 0.135 281.0);
Tailwind
colors: {
  custom: {
    50: '#8d87c7',
    500: '#5958af',
    950: '#000000',
  },
}
SCSS
$custom: #5958af;
$custom-light: #8d87c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5958af",
  "rgb": {
    "r": 89,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 240.69,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50551,
    "c": 0.13481,
    "h": 281
  },
  "luminance": 0.12198
}

Semantic roles & 50–950 ramp

primary
#5958AF
secondary
#C4C59E
accent
#CB5DCA
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5958AF

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

Preview Lab → · Contrast checker → · Palette generator →

#5958AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva