#5958CF#5958CF

#5958CF is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.8% C 0.179 H 278.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5958CF
RGBrgb(89, 88, 207)
HSLhsl(241, 55%, 58%)
HSVhsv(241, 57%, 81%)
CMYKcmyk(57%, 57.5%, 0%, 18.8%)
CIE-LABlab(43.66, 34.51, -61.69)
CIE-LCHlch(43.66, 70.69, 299.22°)
OKLaboklab(52.83% 0.0271 -0.177)
OKLCHoklch(52.83% 0.179 278.7)
XYZxyz(18.8685, 13.6070, 60.6515)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5958CF #CECF58
analogous
#5893CF #5958CF #9458CF
triadic
#5958CF #CF5958 #58CF59
tetradic
#5958CF #CF5893 #CECF58 #58CF94
square
#5958CF #CF5893 #CECF58 #58CF94
split-complementary
#5958CF #CF9458 #93CF58
monochromatic
#272786 #3534B6 #5958CF #8888DD #B8B7EA

Accessibility & contrast

On white

5.64
#5958CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5958CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5958CF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5958CF#FFFFFF#000000##FFFFFF
##5958CF1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#13748B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5958cf;
/* rgb */ color: rgb(89, 88, 207);
/* oklch */ color: oklch(52.8% 0.179 278.7);
Tailwind
colors: {
  custom: {
    50: '#9287de',
    500: '#5958cf',
    950: '#000000',
  },
}
SCSS
$custom: #5958cf;
$custom-light: #9287de;
$custom-dark: #000000;
JSON
{
  "hex": "#5958cf",
  "rgb": {
    "r": 89,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 240.504,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52828,
    "c": 0.17905,
    "h": 278.7
  },
  "luminance": 0.13608
}

Semantic roles & 50–950 ramp

primary
#5958CF
secondary
#D9D9AA
accent
#DF49DD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5958CF

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

Preview Lab → · Contrast checker → · Palette generator →

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