#5658AA#5658AA

#5658AA is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.0% C 0.128 H 279.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5658AA
RGBrgb(86, 88, 170)
HSLhsl(239, 33%, 50%)
HSVhsv(239, 49%, 67%)
CMYKcmyk(49.4%, 48.2%, 0%, 33.3%)
CIE-LABlab(40.99, 22.01, -44.43)
CIE-LCHlch(40.99, 49.58, 296.35°)
OKLaboklab(49.99% 0.0215 -0.1263)
OKLCHoklch(49.99% 0.128 279.6)
XYZxyz(14.5810, 11.8594, 39.5432)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5658AA #AAA856
analogous
#5682AA #5658AA #7E56AA
triadic
#5658AA #AA5658 #58AA56
tetradic
#5658AA #AA5682 #AAA856 #56AA7E
square
#5658AA #AA5682 #AAA856 #56AA7E
split-complementary
#5658AA #AA7E56 #82AA56
monochromatic
#2D2E59 #414382 #5658AA #7F80BE #A7A8D3

Accessibility & contrast

On white

6.23
#5658AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5658AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5658AA#FFFFFF#000000##FFFFFF
##5658AA1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3464AD
Deuteranopia (green-blind)
#2D5EA8
Tritanopia (blue-blind)
#366A79
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5658aa;
/* rgb */ color: rgb(86, 88, 170);
/* oklch */ color: oklch(50.0% 0.128 279.6);
Tailwind
colors: {
  custom: {
    50: '#8b87c4',
    500: '#5658aa',
    950: '#000000',
  },
}
SCSS
$custom: #5658aa;
$custom-light: #8b87c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5658aa",
  "rgb": {
    "r": 86,
    "g": 88,
    "b": 170
  },
  "hsl": {
    "h": 238.571,
    "s": 33.071,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49989,
    "c": 0.12813,
    "h": 279.6
  },
  "luminance": 0.1186
}

Semantic roles & 50–950 ramp

primary
#5658AA
secondary
#C1C09B
accent
#C75FC9
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #5658AA

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

Preview Lab → · Contrast checker → · Palette generator →

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