#5658EB#5658EB

#5658EB is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.8% C 0.216 H 276.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5658EB
RGBrgb(86, 88, 235)
HSLhsl(239, 79%, 63%)
HSVhsv(239, 63%, 92%)
CMYKcmyk(63.4%, 62.6%, 0%, 7.8%)
CIE-LABlab(45.57, 43.07, -74.53)
CIE-LCHlch(45.57, 86.08, 300.02°)
OKLaboklab(54.84% 0.0226 -0.2148)
OKLCHoklch(54.84% 0.216 276)
XYZxyz(22.3180, 14.9542, 80.2915)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5658EB #EBE956
analogous
#56A2EB #5658EB #9F56EB
triadic
#5658EB #EB5658 #58EB56
tetradic
#5658EB #EB56A2 #EBE956 #56EB9F
square
#5658EB #EB56A2 #EBE956 #56EB9F
split-complementary
#5658EB #EB9F56 #A2EB56
monochromatic
#1517B2 #1F22E5 #5658EB #8D8EF1 #C3C4F8

Accessibility & contrast

On white

5.26
#5658EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5658EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5658EB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5658EB#FFFFFF#000000##FFFFFF
##5658EB1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#0065E8
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5658eb;
/* rgb */ color: rgb(86, 88, 235);
/* oklch */ color: oklch(54.8% 0.216 276.0);
Tailwind
colors: {
  custom: {
    50: '#9587f3',
    500: '#5658eb',
    950: '#000000',
  },
}
SCSS
$custom: #5658eb;
$custom-light: #9587f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5658eb",
  "rgb": {
    "r": 86,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 239.195,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.54841,
    "c": 0.216,
    "h": 276
  },
  "luminance": 0.14956
}

Semantic roles & 50–950 ramp

primary
#5658EB
secondary
#E9E9B4
accent
#D80ADB
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5658EB

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

Preview Lab → · Contrast checker → · Palette generator →

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