#5658C5#5658C5

#5658C5 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.9% C 0.166 H 278.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5658C5
RGBrgb(86, 88, 197)
HSLhsl(239, 49%, 55%)
HSVhsv(239, 56%, 77%)
CMYKcmyk(56.3%, 55.3%, 0%, 22.7%)
CIE-LABlab(42.74, 30.71, -57.42)
CIE-LCHlch(42.74, 65.11, 298.14°)
OKLaboklab(51.87% 0.0234 -0.1645)
OKLCHoklch(51.87% 0.166 278.1)
XYZxyz(17.4023, 12.9879, 54.4024)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5658C5 #C5C356
analogous
#568FC5 #5658C5 #8B56C5
triadic
#5658C5 #C55658 #58C556
tetradic
#5658C5 #C5568F #C5C356 #56C58B
square
#5658C5 #C5568F #C5C356 #56C58B
split-complementary
#5658C5 #C58B56 #8FC556
monochromatic
#292A78 #393BA5 #5658C5 #8485D5 #B1B2E4

Accessibility & contrast

On white

5.84
#5658C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5658C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5658C5
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5658C5#FFFFFF#000000##FFFFFF
##5658C51.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#086AC9
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#197186
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5658c5;
/* rgb */ color: rgb(86, 88, 197);
/* oklch */ color: oklch(51.9% 0.166 278.1);
Tailwind
colors: {
  custom: {
    50: '#8f87d7',
    500: '#5658c5',
    950: '#000000',
  },
}
SCSS
$custom: #5658c5;
$custom-light: #8f87d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5658c5",
  "rgb": {
    "r": 86,
    "g": 88,
    "b": 197
  },
  "hsl": {
    "h": 238.919,
    "s": 48.899,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51867,
    "c": 0.16616,
    "h": 278.1
  },
  "luminance": 0.12989
}

Semantic roles & 50–950 ramp

primary
#5658C5
secondary
#D3D2A4
accent
#D64FD8
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5658C5

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

Preview Lab → · Contrast checker → · Palette generator →

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