#5661EA#5661EA

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

Color values

HEX#5661EA
RGBrgb(86, 97, 234)
HSLhsl(236, 78%, 63%)
HSVhsv(236, 63%, 92%)
CMYKcmyk(63.2%, 58.5%, 0%, 8.2%)
CIE-LABlab(47.58, 37.34, -70.69)
CIE-LCHlch(47.58, 79.95, 297.84°)
OKLaboklab(56.3% 0.0153 -0.2035)
OKLCHoklch(56.3% 0.204 274.3)
XYZxyz(22.9588, 16.4664, 79.7944)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5661EA #EADF56
analogous
#56ABEA #5661EA #9556EA
triadic
#5661EA #EA5661 #61EA56
tetradic
#5661EA #EA56AB #EADF56 #56EA95
square
#5661EA #EA56AB #EADF56 #56EA95
split-complementary
#5661EA #EA9556 #ABEA56
monochromatic
#1621B0 #202EE3 #5661EA #8C94F1 #C3C7F8

Accessibility & contrast

On white

4.89
#5661EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5661EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5661EA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5661EA#FFFFFF#000000##FFFFFF
##5661EA1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#006AE7
Tritanopia (blue-blind)
#00839C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5661ea;
/* rgb */ color: rgb(86, 97, 234);
/* oklch */ color: oklch(56.3% 0.204 274.3);
Tailwind
colors: {
  custom: {
    50: '#948ef2',
    500: '#5661ea',
    950: '#000000',
  },
}
SCSS
$custom: #5661ea;
$custom-light: #948ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5661ea",
  "rgb": {
    "r": 86,
    "g": 97,
    "b": 234
  },
  "hsl": {
    "h": 235.541,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56296,
    "c": 0.20405,
    "h": 274.3
  },
  "luminance": 0.16468
}

Semantic roles & 50–950 ramp

primary
#5661EA
secondary
#E9E5B3
accent
#CB0BDA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5661EA

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

Preview Lab → · Contrast checker → · Palette generator →

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