#5958BB#5958BB

#5958BB is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.4% C 0.152 H 280.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5958BB
RGBrgb(89, 88, 187)
HSLhsl(241, 42%, 54%)
HSVhsv(241, 53%, 73%)
CMYKcmyk(52.4%, 52.9%, 0%, 26.7%)
CIE-LABlab(42.29, 28.09, -52.32)
CIE-LCHlch(42.29, 59.39, 298.23°)
OKLaboklab(51.37% 0.0266 -0.1494)
OKLCHoklch(51.37% 0.152 280.1)
XYZxyz(16.5764, 12.6902, 48.5801)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5958BB #BABB58
analogous
#5889BB #5958BB #8B58BB
triadic
#5958BB #BB5958 #58BB59
tetradic
#5958BB #BB5889 #BABB58 #58BB8B
square
#5958BB #BB5889 #BABB58 #58BB8B
split-complementary
#5958BB #BB8B58 #89BB58
monochromatic
#2D2C6C #3F3E98 #5958BB #8483CD #AFAFDE

Accessibility & contrast

On white

5.94
#5958BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5958BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5958BB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5958BB#FFFFFF#000000##FFFFFF
##5958BB1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2268BE
Deuteranopia (green-blind)
#1560B9
Tritanopia (blue-blind)
#306E81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5958bb;
/* rgb */ color: rgb(89, 88, 187);
/* oklch */ color: oklch(51.4% 0.152 280.1);
Tailwind
colors: {
  custom: {
    50: '#8f87d0',
    500: '#5958bb',
    950: '#000000',
  },
}
SCSS
$custom: #5958bb;
$custom-light: #8f87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5958bb",
  "rgb": {
    "r": 89,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 240.606,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5137,
    "c": 0.15177,
    "h": 280.1
  },
  "luminance": 0.12691
}

Semantic roles & 50–950 ramp

primary
#5958BB
secondary
#CCCDA2
accent
#D256D1
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5958BB

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

Preview Lab → · Contrast checker → · Palette generator →

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