#5A61E7#5A61E7

#5A61E7 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.3% C 0.199 H 275.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5A61E7
RGBrgb(90, 97, 231)
HSLhsl(237, 75%, 63%)
HSVhsv(237, 61%, 91%)
CMYKcmyk(61%, 58%, 0%, 9.4%)
CIE-LABlab(47.61, 36.98, -68.94)
CIE-LCHlch(47.61, 78.24, 298.21°)
OKLaboklab(56.32% 0.0197 -0.1982)
OKLCHoklch(56.32% 0.199 275.7)
XYZxyz(22.9102, 16.4907, 77.5615)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A61E7 #E7E05A
analogous
#5AA8E7 #5A61E7 #995AE7
triadic
#5A61E7 #E75A61 #61E75A
tetradic
#5A61E7 #E75AA8 #E7E05A #5AE799
square
#5A61E7 #E75AA8 #E7E05A #5AE799
split-complementary
#5A61E7 #E7995A #A8E75A
monochromatic
#1921AD #252EDF #5A61E7 #8F94EF #C5C7F7

Accessibility & contrast

On white

4.89
#5A61E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5A61E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A61E7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A61E7#FFFFFF#000000##FFFFFF
##5A61E71.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#006BE4
Tritanopia (blue-blind)
#00819B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5a61e7;
/* rgb */ color: rgb(90, 97, 231);
/* oklch */ color: oklch(56.3% 0.199 275.7);
Tailwind
colors: {
  custom: {
    50: '#968ef0',
    500: '#5a61e7',
    950: '#000000',
  },
}
SCSS
$custom: #5a61e7;
$custom-light: #968ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a61e7",
  "rgb": {
    "r": 90,
    "g": 97,
    "b": 231
  },
  "hsl": {
    "h": 237.021,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56316,
    "c": 0.1992,
    "h": 275.7
  },
  "luminance": 0.16493
}

Semantic roles & 50–950 ramp

primary
#5A61E7
secondary
#E8E5B5
accent
#CD0FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5A61E7

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

Preview Lab → · Contrast checker → · Palette generator →

#5A61E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva