#5658BA#5658BA

#5658BA is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.1% C 0.151 H 278.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5658BA
RGBrgb(86, 88, 186)
HSLhsl(239, 42%, 53%)
HSVhsv(239, 54%, 73%)
CMYKcmyk(53.8%, 52.7%, 0%, 27.1%)
CIE-LABlab(42.00, 27.14, -52.21)
CIE-LCHlch(42.00, 58.85, 297.46°)
OKLaboklab(51.08% 0.0229 -0.1492)
OKLCHoklch(51.08% 0.151 278.7)
XYZxyz(16.1876, 12.5020, 48.0050)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5658BA #BAB856
analogous
#568ABA #5658BA #8656BA
triadic
#5658BA #BA5658 #58BA56
tetradic
#5658BA #BA568A #BAB856 #56BA86
square
#5658BA #BA568A #BAB856 #56BA86
split-complementary
#5658BA #BA8656 #8ABA56
monochromatic
#2B2D6A #3D3F96 #5658BA #8183CC #ADAEDD

Accessibility & contrast

On white

6.00
#5658BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5658BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5658BA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5658BA#FFFFFF#000000##FFFFFF
##5658BA1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2267BD
Deuteranopia (green-blind)
#125FB8
Tritanopia (blue-blind)
#286E80
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5658ba;
/* rgb */ color: rgb(86, 88, 186);
/* oklch */ color: oklch(51.1% 0.151 278.7);
Tailwind
colors: {
  custom: {
    50: '#8d87cf',
    500: '#5658ba',
    950: '#000000',
  },
}
SCSS
$custom: #5658ba;
$custom-light: #8d87cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5658ba",
  "rgb": {
    "r": 86,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 238.8,
    "s": 42.017,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51076,
    "c": 0.15094,
    "h": 278.7
  },
  "luminance": 0.12503
}

Semantic roles & 50–950 ramp

primary
#5658BA
secondary
#CBCBA0
accent
#CF56D2
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5658BA

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

Preview Lab → · Contrast checker → · Palette generator →

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