#5658AF#5658AF

#5658AF is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.3% C 0.135 H 279.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5658AF
RGBrgb(86, 88, 175)
HSLhsl(239, 36%, 51%)
HSVhsv(239, 51%, 69%)
CMYKcmyk(50.9%, 49.7%, 0%, 31.4%)
CIE-LABlab(41.30, 23.60, -46.89)
CIE-LCHlch(41.30, 52.50, 296.72°)
OKLaboklab(50.32% 0.022 -0.1335)
OKLCHoklch(50.32% 0.135 279.4)
XYZxyz(15.0630, 12.0522, 42.0817)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5658AF #AFAD56
analogous
#5684AF #5658AF #8056AF
triadic
#5658AF #AF5658 #58AF56
tetradic
#5658AF #AF5684 #AFAD56 #56AF80
square
#5658AF #AF5684 #AFAD56 #56AF80
split-complementary
#5658AF #AF8056 #84AF56
monochromatic
#2D2E5E #404288 #5658AF #8081C3 #A9AAD6

Accessibility & contrast

On white

6.16
#5658AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5658AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5658AF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5658AF#FFFFFF#000000##FFFFFF
##5658AF1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#275EAD
Tritanopia (blue-blind)
#336B7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5658af;
/* rgb */ color: rgb(86, 88, 175);
/* oklch */ color: oklch(50.3% 0.135 279.4);
Tailwind
colors: {
  custom: {
    50: '#8c87c7',
    500: '#5658af',
    950: '#000000',
  },
}
SCSS
$custom: #5658af;
$custom-light: #8c87c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5658af",
  "rgb": {
    "r": 86,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 238.652,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5032,
    "c": 0.13534,
    "h": 279.4
  },
  "luminance": 0.12053
}

Semantic roles & 50–950 ramp

primary
#5658AF
secondary
#C4C39D
accent
#C95CCC
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #5658AF

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

Preview Lab → · Contrast checker → · Palette generator →

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