#5661E5#5661E5

#5661E5 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.9% C 0.198 H 274.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5661E5
RGBrgb(86, 97, 229)
HSLhsl(235, 73%, 62%)
HSVhsv(235, 62%, 90%)
CMYKcmyk(62.4%, 57.6%, 0%, 10.2%)
CIE-LABlab(47.21, 35.68, -68.47)
CIE-LCHlch(47.21, 77.21, 297.53°)
OKLaboklab(55.91% 0.0153 -0.1969)
OKLCHoklch(55.91% 0.198 274.5)
XYZxyz(22.2506, 16.1831, 76.0646)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5661E5 #E5DA56
analogous
#56A8E5 #5661E5 #9356E5
triadic
#5661E5 #E55661 #61E556
tetradic
#5661E5 #E556A8 #E5DA56 #56E593
square
#5661E5 #E556A8 #E5DA56 #56E593
split-complementary
#5661E5 #E59356 #A8E556
monochromatic
#1A25A7 #2230DC #5661E5 #8B93ED #C0C4F5

Accessibility & contrast

On white

4.96
#5661E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5661E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5661E5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5661E5#FFFFFF#000000##FFFFFF
##5661E51.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#006AE2
Tritanopia (blue-blind)
#00819A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5661e5;
/* rgb */ color: rgb(86, 97, 229);
/* oklch */ color: oklch(55.9% 0.198 274.5);
Tailwind
colors: {
  custom: {
    50: '#948eee',
    500: '#5661e5',
    950: '#000000',
  },
}
SCSS
$custom: #5661e5;
$custom-light: #948eee;
$custom-dark: #000000;
JSON
{
  "hex": "#5661e5",
  "rgb": {
    "r": 86,
    "g": 97,
    "b": 229
  },
  "hsl": {
    "h": 235.385,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55909,
    "c": 0.19754,
    "h": 274.5
  },
  "luminance": 0.16185
}

Semantic roles & 50–950 ramp

primary
#5661E5
secondary
#E6E2B1
accent
#C610D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5661E5

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

Preview Lab → · Contrast checker → · Palette generator →

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