#5657BB#5657BB

#5657BB is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.0% C 0.154 H 279.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5657BB
RGBrgb(86, 87, 187)
HSLhsl(239, 43%, 54%)
HSVhsv(239, 54%, 73%)
CMYKcmyk(54%, 53.5%, 0%, 26.7%)
CIE-LABlab(41.82, 28.09, -53.10)
CIE-LCHlch(41.82, 60.07, 297.88°)
OKLaboklab(50.96% 0.0241 -0.1518)
OKLCHoklch(50.96% 0.154 279)
XYZxyz(16.2128, 12.3817, 48.5397)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657BB #BBBA56
analogous
#5689BB #5657BB #8756BB
triadic
#5657BB #BB5657 #57BB56
tetradic
#5657BB #BB5689 #BBBA56 #56BB87
square
#5657BB #BB5689 #BBBA56 #56BB87
split-complementary
#5657BB #BB8756 #89BB56
monochromatic
#2B2C6B #3D3E97 #5657BB #8282CD #ADAEDE

Accessibility & contrast

On white

6.04
#5657BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5657BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657BB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657BB#FFFFFF#000000##FFFFFF
##5657BB1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67BE
Deuteranopia (green-blind)
#0A5FB9
Tritanopia (blue-blind)
#276E80
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5657bb;
/* rgb */ color: rgb(86, 87, 187);
/* oklch */ color: oklch(51.0% 0.154 279.0);
Tailwind
colors: {
  custom: {
    50: '#8d86d0',
    500: '#5657bb',
    950: '#000000',
  },
}
SCSS
$custom: #5657bb;
$custom-light: #8d86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5657bb",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 239.406,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50957,
    "c": 0.15371,
    "h": 279
  },
  "luminance": 0.12383
}

Semantic roles & 50–950 ramp

primary
#5657BB
secondary
#CCCCA1
accent
#D155D2
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5657BB

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

Preview Lab → · Contrast checker → · Palette generator →

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