#5661E8#5661E8

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

Color values

HEX#5661E8
RGBrgb(86, 97, 232)
HSLhsl(235, 76%, 62%)
HSVhsv(235, 63%, 91%)
CMYKcmyk(62.9%, 58.2%, 0%, 9%)
CIE-LABlab(47.43, 36.68, -69.81)
CIE-LCHlch(47.43, 78.86, 297.72°)
OKLaboklab(56.14% 0.0153 -0.2009)
OKLCHoklch(56.14% 0.201 274.4)
XYZxyz(22.6731, 16.3521, 78.2897)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5661E8 #E8DD56
analogous
#56AAE8 #5661E8 #9456E8
triadic
#5661E8 #E85661 #61E856
tetradic
#5661E8 #E856AA #E8DD56 #56E894
square
#5661E8 #E856AA #E8DD56 #56E894
split-complementary
#5661E8 #E89456 #AAE856
monochromatic
#1723AC #202FE1 #5661E8 #8C93EF #C2C6F7

Accessibility & contrast

On white

4.92
#5661E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#5661E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5661E8
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5661E8#FFFFFF#000000##FFFFFF
##5661E81.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5661e8;
/* rgb */ color: rgb(86, 97, 232);
/* oklch */ color: oklch(56.1% 0.201 274.4);
Tailwind
colors: {
  custom: {
    50: '#948ef0',
    500: '#5661e8',
    950: '#000000',
  },
}
SCSS
$custom: #5661e8;
$custom-light: #948ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#5661e8",
  "rgb": {
    "r": 86,
    "g": 97,
    "b": 232
  },
  "hsl": {
    "h": 235.479,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56141,
    "c": 0.20144,
    "h": 274.4
  },
  "luminance": 0.16354
}

Semantic roles & 50–950 ramp

primary
#5661E8
secondary
#E8E4B2
accent
#C90DD8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #5661E8

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

Preview Lab → · Contrast checker → · Palette generator →

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