#5658BF#5658BF

#5658BF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.4% C 0.158 H 278.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5658BF
RGBrgb(86, 88, 191)
HSLhsl(239, 45%, 54%)
HSVhsv(239, 55%, 75%)
CMYKcmyk(55%, 53.9%, 0%, 25.1%)
CIE-LABlab(42.34, 28.76, -54.59)
CIE-LCHlch(42.34, 61.71, 297.78°)
OKLaboklab(51.43% 0.0232 -0.1562)
OKLCHoklch(51.43% 0.158 278.4)
XYZxyz(16.7285, 12.7184, 50.8535)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5658BF #BFBD56
analogous
#568DBF #5658BF #8956BF
triadic
#5658BF #BF5658 #58BF56
tetradic
#5658BF #BF568D #BFBD56 #56BF89
square
#5658BF #BF568D #BFBD56 #56BF89
split-complementary
#5658BF #BF8956 #8DBF56
monochromatic
#2A2C70 #3B3D9D #5658BF #8284D0 #AFB0E1

Accessibility & contrast

On white

5.93
#5658BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5658BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5658BF#FFFFFF#000000##FFFFFF
##5658BF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A68C3
Deuteranopia (green-blind)
#0060BD
Tritanopia (blue-blind)
#226F83
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5658bf;
/* rgb */ color: rgb(86, 88, 191);
/* oklch */ color: oklch(51.4% 0.158 278.4);
Tailwind
colors: {
  custom: {
    50: '#8e87d3',
    500: '#5658bf',
    950: '#000000',
  },
}
SCSS
$custom: #5658bf;
$custom-light: #8e87d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5658bf",
  "rgb": {
    "r": 86,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 238.857,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51431,
    "c": 0.1579,
    "h": 278.4
  },
  "luminance": 0.12719
}

Semantic roles & 50–950 ramp

primary
#5658BF
secondary
#CFCEA2
accent
#D253D5
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5658BF

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

Preview Lab → · Contrast checker → · Palette generator →

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