#5D61E7#5D61E7

#5D61E7 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.5% C 0.199 H 276.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5D61E7
RGBrgb(93, 97, 231)
HSLhsl(238, 74%, 64%)
HSVhsv(238, 60%, 91%)
CMYKcmyk(59.7%, 58%, 0%, 9.4%)
CIE-LABlab(47.81, 37.48, -68.61)
CIE-LCHlch(47.81, 78.18, 298.64°)
OKLaboklab(56.51% 0.0231 -0.1972)
OKLCHoklch(56.51% 0.199 276.7)
XYZxyz(23.2080, 16.6443, 77.5755)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D61E7 #E7E35D
analogous
#5DA6E7 #5D61E7 #9E5DE7
triadic
#5D61E7 #E75D61 #61E75D
tetradic
#5D61E7 #E75DA6 #E7E35D #5DE79E
square
#5D61E7 #E75DA6 #E7E35D #5DE79E
split-complementary
#5D61E7 #E79E5D #A6E75D
monochromatic
#1A1EB0 #282DDF #5D61E7 #9295EF #C8C9F7

Accessibility & contrast

On white

4.85
#5D61E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5D61E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D61E7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D61E7#FFFFFF#000000##FFFFFF
##5D61E71.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d61e7;
/* rgb */ color: rgb(93, 97, 231);
/* oklch */ color: oklch(56.5% 0.199 276.7);
Tailwind
colors: {
  custom: {
    50: '#978ef0',
    500: '#5d61e7',
    950: '#000000',
  },
}
SCSS
$custom: #5d61e7;
$custom-light: #978ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d61e7",
  "rgb": {
    "r": 93,
    "g": 97,
    "b": 231
  },
  "hsl": {
    "h": 238.261,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56513,
    "c": 0.19853,
    "h": 276.7
  },
  "luminance": 0.16646
}

Semantic roles & 50–950 ramp

primary
#5D61E7
secondary
#E8E7B7
accent
#D10FD6
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D61E7

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

Preview Lab → · Contrast checker → · Palette generator →

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