#5658B2#5658B2

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

Color values

HEX#5658B2
RGBrgb(86, 88, 178)
HSLhsl(239, 37%, 52%)
HSVhsv(239, 52%, 70%)
CMYKcmyk(51.7%, 50.6%, 0%, 30.2%)
CIE-LABlab(41.49, 24.56, -48.36)
CIE-LCHlch(41.49, 54.24, 296.93°)
OKLaboklab(50.52% 0.0223 -0.1378)
OKLCHoklch(50.52% 0.14 279.2)
XYZxyz(15.3609, 12.1713, 43.6507)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5658B2 #B2B056
analogous
#5686B2 #5658B2 #8256B2
triadic
#5658B2 #B25658 #58B256
tetradic
#5658B2 #B25686 #B2B056 #56B282
square
#5658B2 #B25686 #B2B056 #56B282
split-complementary
#5658B2 #B28256 #86B256
monochromatic
#2C2D61 #3F418B #5658B2 #8082C5 #AAABD8

Accessibility & contrast

On white

6.11
#5658B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5658B2#FFFFFF#000000##FFFFFF
##5658B21.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C66B5
Deuteranopia (green-blind)
#235EB0
Tritanopia (blue-blind)
#306C7C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5658b2;
/* rgb */ color: rgb(86, 88, 178);
/* oklch */ color: oklch(50.5% 0.140 279.2);
Tailwind
colors: {
  custom: {
    50: '#8c87c9',
    500: '#5658b2',
    950: '#000000',
  },
}
SCSS
$custom: #5658b2;
$custom-light: #8c87c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5658b2",
  "rgb": {
    "r": 86,
    "g": 88,
    "b": 178
  },
  "hsl": {
    "h": 238.696,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50523,
    "c": 0.13964,
    "h": 279.2
  },
  "luminance": 0.12172
}

Semantic roles & 50–950 ramp

primary
#5658B2
secondary
#C6C59E
accent
#CB5ACD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0B13
muted
#7D7C82

Preview Lab

Preview with #5658B2

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

Preview Lab → · Contrast checker → · Palette generator →

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