#5661BF#5661BF

#5661BF is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.2% C 0.146 H 275.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5661BF
RGBrgb(86, 97, 191)
HSLhsl(234, 45%, 54%)
HSVhsv(234, 55%, 75%)
CMYKcmyk(55%, 49.2%, 0%, 25.1%)
CIE-LABlab(44.64, 23.13, -50.88)
CIE-LCHlch(44.64, 55.89, 294.44°)
OKLaboklab(53.17% 0.0134 -0.1452)
OKLCHoklch(53.17% 0.146 275.3)
XYZxyz(17.5134, 14.2882, 51.1151)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5661BF #BFB456
analogous
#5696BF #5661BF #8056BF
triadic
#5661BF #BF5661 #61BF56
tetradic
#5661BF #BF5696 #BFB456 #56BF80
square
#5661BF #BF5696 #BFB456 #56BF80
split-complementary
#5661BF #BF8056 #96BF56
monochromatic
#2A3270 #3B459D #5661BF #828BD0 #AFB4E1

Accessibility & contrast

On white

5.44
#5661BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5661BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5661BF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5661BF#FFFFFF#000000##FFFFFF
##5661BF1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336EC2
Deuteranopia (green-blind)
#2565BD
Tritanopia (blue-blind)
#207687
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5661bf;
/* rgb */ color: rgb(86, 97, 191);
/* oklch */ color: oklch(53.2% 0.146 275.3);
Tailwind
colors: {
  custom: {
    50: '#8e8dd3',
    500: '#5661bf',
    950: '#000000',
  },
}
SCSS
$custom: #5661bf;
$custom-light: #8e8dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5661bf",
  "rgb": {
    "r": 86,
    "g": 97,
    "b": 191
  },
  "hsl": {
    "h": 233.714,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53166,
    "c": 0.14581,
    "h": 275.3
  },
  "luminance": 0.14289
}

Semantic roles & 50–950 ramp

primary
#5661BF
secondary
#CFCAA2
accent
#C753D5
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5661BF

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

Preview Lab → · Contrast checker → · Palette generator →

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