#5661EB#5661EB

#5661EB is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.4% C 0.205 H 274.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5661EB
RGBrgb(86, 97, 235)
HSLhsl(236, 79%, 63%)
HSVhsv(236, 63%, 92%)
CMYKcmyk(63.4%, 58.7%, 0%, 7.8%)
CIE-LABlab(47.65, 37.67, -71.14)
CIE-LCHlch(47.65, 80.49, 297.90°)
OKLaboklab(56.37% 0.0153 -0.2048)
OKLCHoklch(56.37% 0.205 274.3)
XYZxyz(23.1029, 16.5240, 80.5531)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5661EB #EBE056
analogous
#56ACEB #5661EB #9556EB
triadic
#5661EB #EB5661 #61EB56
tetradic
#5661EB #EB56AC #EBE056 #56EB95
square
#5661EB #EB56AC #EBE056 #56EB95
split-complementary
#5661EB #EB9556 #ACEB56
monochromatic
#1521B2 #1F2EE5 #5661EB #8D94F1 #C3C7F8

Accessibility & contrast

On white

4.88
#5661EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5661EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5661EB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5661EB#FFFFFF#000000##FFFFFF
##5661EB1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#006BE8
Tritanopia (blue-blind)
#00839D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5661eb;
/* rgb */ color: rgb(86, 97, 235);
/* oklch */ color: oklch(56.4% 0.205 274.3);
Tailwind
colors: {
  custom: {
    50: '#958ef2',
    500: '#5661eb',
    950: '#000000',
  },
}
SCSS
$custom: #5661eb;
$custom-light: #958ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5661eb",
  "rgb": {
    "r": 86,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 235.57,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56374,
    "c": 0.20534,
    "h": 274.3
  },
  "luminance": 0.16526
}

Semantic roles & 50–950 ramp

primary
#5661EB
secondary
#E9E5B4
accent
#CC0ADB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5661EB

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

Preview Lab → · Contrast checker → · Palette generator →

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