#5658B1#5658B1

#5658B1 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.5% C 0.138 H 279.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5658B1
RGBrgb(86, 88, 177)
HSLhsl(239, 37%, 52%)
HSVhsv(239, 51%, 69%)
CMYKcmyk(51.4%, 50.3%, 0%, 30.6%)
CIE-LABlab(41.42, 24.24, -47.87)
CIE-LCHlch(41.42, 53.66, 296.86°)
OKLaboklab(50.46% 0.0222 -0.1364)
OKLCHoklch(50.46% 0.138 279.2)
XYZxyz(15.2608, 12.1313, 43.1239)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5658B1 #B1AF56
analogous
#5686B1 #5658B1 #8256B1
triadic
#5658B1 #B15658 #58B156
tetradic
#5658B1 #B15686 #B1AF56 #56B182
square
#5658B1 #B15686 #B1AF56 #56B182
split-complementary
#5658B1 #B18256 #86B156
monochromatic
#2C2E60 #40418A #5658B1 #8081C4 #AAABD8

Accessibility & contrast

On white

6.13
#5658B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5658B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5658B1
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5658B1#FFFFFF#000000##FFFFFF
##5658B11.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E65B4
Deuteranopia (green-blind)
#245EAF
Tritanopia (blue-blind)
#316B7C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5658b1;
/* rgb */ color: rgb(86, 88, 177);
/* oklch */ color: oklch(50.5% 0.138 279.2);
Tailwind
colors: {
  custom: {
    50: '#8c87c9',
    500: '#5658b1',
    950: '#000000',
  },
}
SCSS
$custom: #5658b1;
$custom-light: #8c87c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5658b1",
  "rgb": {
    "r": 86,
    "g": 88,
    "b": 177
  },
  "hsl": {
    "h": 238.681,
    "s": 36.842,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50455,
    "c": 0.13821,
    "h": 279.2
  },
  "luminance": 0.12132
}

Semantic roles & 50–950 ramp

primary
#5658B1
secondary
#C5C59D
accent
#CA5BCD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0B13
muted
#7D7C82

Preview Lab

Preview with #5658B1

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

Preview Lab → · Contrast checker → · Palette generator →

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