#5658B5#5658B5

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

Color values

HEX#5658B5
RGBrgb(86, 88, 181)
HSLhsl(239, 39%, 52%)
HSVhsv(239, 52%, 71%)
CMYKcmyk(52.5%, 51.4%, 0%, 29%)
CIE-LABlab(41.68, 25.53, -49.81)
CIE-LCHlch(41.68, 55.97, 297.13°)
OKLaboklab(50.73% 0.0226 -0.1421)
OKLCHoklch(50.73% 0.144 279)
XYZxyz(15.6654, 12.2931, 45.2544)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5658B5 #B5B356
analogous
#5687B5 #5658B5 #8456B5
triadic
#5658B5 #B55658 #58B556
tetradic
#5658B5 #B55687 #B5B356 #56B584
square
#5658B5 #B55687 #B5B356 #56B584
split-complementary
#5658B5 #B58456 #87B556
monochromatic
#2C2D65 #3F408F #5658B5 #8182C8 #ABACDA

Accessibility & contrast

On white

6.07
#5658B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5658B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5658B5
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5658B5#FFFFFF#000000##FFFFFF
##5658B51.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)
#2966B8
Deuteranopia (green-blind)
#1E5FB3
Tritanopia (blue-blind)
#2D6D7E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5658b5;
/* rgb */ color: rgb(86, 88, 181);
/* oklch */ color: oklch(50.7% 0.144 279.0);
Tailwind
colors: {
  custom: {
    50: '#8d87cc',
    500: '#5658b5',
    950: '#000000',
  },
}
SCSS
$custom: #5658b5;
$custom-light: #8d87cc;
$custom-dark: #000000;
JSON
{
  "hex": "#5658b5",
  "rgb": {
    "r": 86,
    "g": 88,
    "b": 181
  },
  "hsl": {
    "h": 238.737,
    "s": 39.095,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50728,
    "c": 0.1439,
    "h": 279
  },
  "luminance": 0.12294
}

Semantic roles & 50–950 ramp

primary
#5658B5
secondary
#C8C79F
accent
#CD59CF
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5658B5

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

Preview Lab → · Contrast checker → · Palette generator →

#5658B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva