#5B58AF#5B58AF

#5B58AF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.7% C 0.134 H 282.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5B58AF
RGBrgb(91, 88, 175)
HSLhsl(242, 35%, 52%)
HSVhsv(242, 50%, 69%)
CMYKcmyk(48%, 49.7%, 0%, 31.4%)
CIE-LABlab(41.69, 24.76, -46.25)
CIE-LCHlch(41.69, 52.46, 298.16°)
OKLaboklab(50.71% 0.028 -0.1315)
OKLCHoklch(50.71% 0.134 282)
XYZxyz(15.5396, 12.2980, 42.1041)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B58AF #ACAF58
analogous
#5881AF #5B58AF #8758AF
triadic
#5B58AF #AF5B58 #58AF5B
tetradic
#5B58AF #AF5881 #ACAF58 #58AF87
square
#5B58AF #AF5881 #ACAF58 #58AF87
split-complementary
#5B58AF #AF8758 #81AF58
monochromatic
#2F2E5F #444188 #5B58AF #8481C3 #ACABD7

Accessibility & contrast

On white

6.07
#5B58AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5B58AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B58AF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B58AF#FFFFFF#000000##FFFFFF
##5B58AF1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B2
Deuteranopia (green-blind)
#2C5FAD
Tritanopia (blue-blind)
#3D6B7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5b58af;
/* rgb */ color: rgb(91, 88, 175);
/* oklch */ color: oklch(50.7% 0.134 282.0);
Tailwind
colors: {
  custom: {
    50: '#8f87c7',
    500: '#5b58af',
    950: '#000000',
  },
}
SCSS
$custom: #5b58af;
$custom-light: #8f87c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b58af",
  "rgb": {
    "r": 91,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 242.069,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50709,
    "c": 0.13448,
    "h": 282
  },
  "luminance": 0.12299
}

Semantic roles & 50–950 ramp

primary
#5B58AF
secondary
#C3C59E
accent
#CB5DC7
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5B58AF

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

Preview Lab → · Contrast checker → · Palette generator →

#5B58AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva