#5661E7#5661E7

#5661E7 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.1% C 0.200 H 274.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5661E7
RGBrgb(86, 97, 231)
HSLhsl(235, 75%, 62%)
HSVhsv(235, 63%, 91%)
CMYKcmyk(62.8%, 58%, 0%, 9.4%)
CIE-LABlab(47.36, 36.34, -69.36)
CIE-LCHlch(47.36, 78.31, 297.65°)
OKLaboklab(56.06% 0.0153 -0.1996)
OKLCHoklch(56.06% 0.2 274.4)
XYZxyz(22.5315, 16.2955, 77.5438)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5661E7 #E7DC56
analogous
#56AAE7 #5661E7 #9356E7
triadic
#5661E7 #E75661 #61E756
tetradic
#5661E7 #E756AA #E7DC56 #56E793
square
#5661E7 #E756AA #E7DC56 #56E793
split-complementary
#5661E7 #E79356 #AAE756
monochromatic
#1823AA #202FDF #5661E7 #8C93EF #C1C5F6

Accessibility & contrast

On white

4.93
#5661E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5661E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5661E7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5661E7#FFFFFF#000000##FFFFFF
##5661E71.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#00829B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5661e7;
/* rgb */ color: rgb(86, 97, 231);
/* oklch */ color: oklch(56.1% 0.200 274.4);
Tailwind
colors: {
  custom: {
    50: '#948ef0',
    500: '#5661e7',
    950: '#000000',
  },
}
SCSS
$custom: #5661e7;
$custom-light: #948ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#5661e7",
  "rgb": {
    "r": 86,
    "g": 97,
    "b": 231
  },
  "hsl": {
    "h": 235.448,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56063,
    "c": 0.20015,
    "h": 274.4
  },
  "luminance": 0.16297
}

Semantic roles & 50–950 ramp

primary
#5661E7
secondary
#E7E3B2
accent
#C80ED7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #5661E7

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

Preview Lab → · Contrast checker → · Palette generator →

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