#5658BC#5658BC

#5658BC is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.2% C 0.154 H 278.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5658BC
RGBrgb(86, 88, 188)
HSLhsl(239, 43%, 54%)
HSVhsv(239, 54%, 74%)
CMYKcmyk(54.3%, 53.2%, 0%, 26.3%)
CIE-LABlab(42.14, 27.79, -53.17)
CIE-LCHlch(42.14, 59.99, 297.59°)
OKLaboklab(51.22% 0.0231 -0.152)
OKLCHoklch(51.22% 0.154 278.6)
XYZxyz(16.4017, 12.5877, 49.1326)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5658BC #BCBA56
analogous
#568BBC #5658BC #8756BC
triadic
#5658BC #BC5658 #58BC56
tetradic
#5658BC #BC568B #BCBA56 #56BC87
square
#5658BC #BC568B #BCBA56 #56BC87
split-complementary
#5658BC #BC8756 #8BBC56
monochromatic
#2B2C6D #3C3E98 #5658BC #8283CD #AEAFDF

Accessibility & contrast

On white

5.97
#5658BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5658BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5658BC#FFFFFF#000000##FFFFFF
##5658BC1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F68BF
Deuteranopia (green-blind)
#0C5FBA
Tritanopia (blue-blind)
#266F81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5658bc;
/* rgb */ color: rgb(86, 88, 188);
/* oklch */ color: oklch(51.2% 0.154 278.6);
Tailwind
colors: {
  custom: {
    50: '#8e87d1',
    500: '#5658bc',
    950: '#000000',
  },
}
SCSS
$custom: #5658bc;
$custom-light: #8e87d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5658bc",
  "rgb": {
    "r": 86,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 238.824,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51217,
    "c": 0.15374,
    "h": 278.6
  },
  "luminance": 0.12589
}

Semantic roles & 50–950 ramp

primary
#5658BC
secondary
#CDCCA1
accent
#D155D3
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5658BC

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

Preview Lab → · Contrast checker → · Palette generator →

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