#5658BB#5658BB

#5658BB is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.1% C 0.152 H 278.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5658BB
RGBrgb(86, 88, 187)
HSLhsl(239, 43%, 54%)
HSVhsv(239, 54%, 73%)
CMYKcmyk(54%, 52.9%, 0%, 26.7%)
CIE-LABlab(42.07, 27.46, -52.69)
CIE-LCHlch(42.07, 59.42, 297.53°)
OKLaboklab(51.15% 0.023 -0.1506)
OKLCHoklch(51.15% 0.152 278.7)
XYZxyz(16.2943, 12.5447, 48.5668)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5658BB #BBB956
analogous
#568ABB #5658BB #8656BB
triadic
#5658BB #BB5658 #58BB56
tetradic
#5658BB #BB568A #BBB956 #56BB86
square
#5658BB #BB568A #BBB956 #56BB86
split-complementary
#5658BB #BB8656 #8ABB56
monochromatic
#2B2C6B #3D3F97 #5658BB #8283CD #ADAEDE

Accessibility & contrast

On white

5.98
#5658BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5658BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5658BB#FFFFFF#000000##FFFFFF
##5658BB1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2167BE
Deuteranopia (green-blind)
#0F5FB9
Tritanopia (blue-blind)
#276E81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5658bb;
/* rgb */ color: rgb(86, 88, 187);
/* oklch */ color: oklch(51.1% 0.152 278.7);
Tailwind
colors: {
  custom: {
    50: '#8d87d0',
    500: '#5658bb',
    950: '#000000',
  },
}
SCSS
$custom: #5658bb;
$custom-light: #8d87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5658bb",
  "rgb": {
    "r": 86,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 238.812,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51146,
    "c": 0.15234,
    "h": 278.7
  },
  "luminance": 0.12546
}

Semantic roles & 50–950 ramp

primary
#5658BB
secondary
#CCCBA1
accent
#D055D2
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5658BB

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

Preview Lab → · Contrast checker → · Palette generator →

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