#5D61E5#5D61E5

#5D61E5 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.4% C 0.196 H 276.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5D61E5
RGBrgb(93, 97, 229)
HSLhsl(238, 72%, 63%)
HSVhsv(238, 59%, 90%)
CMYKcmyk(59.4%, 57.6%, 0%, 10.2%)
CIE-LABlab(47.66, 36.83, -67.72)
CIE-LCHlch(47.66, 77.09, 298.54°)
OKLaboklab(56.36% 0.0231 -0.1945)
OKLCHoklch(56.36% 0.196 276.8)
XYZxyz(22.9272, 16.5320, 76.0964)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D61E5 #E5E15D
analogous
#5DA5E5 #5D61E5 #9D5DE5
triadic
#5D61E5 #E55D61 #61E55D
tetradic
#5D61E5 #E55DA5 #E5E15D #5DE59D
square
#5D61E5 #E55DA5 #E5E15D #5DE59D
split-complementary
#5D61E5 #E59D5D #A5E55D
monochromatic
#1C20AC #282EDD #5D61E5 #9294ED #C6C8F6

Accessibility & contrast

On white

4.88
#5D61E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5D61E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D61E5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D61E5#FFFFFF#000000##FFFFFF
##5D61E51.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#006BE2
Tritanopia (blue-blind)
#00819A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d61e5;
/* rgb */ color: rgb(93, 97, 229);
/* oklch */ color: oklch(56.4% 0.196 276.8);
Tailwind
colors: {
  custom: {
    50: '#978eee',
    500: '#5d61e5',
    950: '#000000',
  },
}
SCSS
$custom: #5d61e5;
$custom-light: #978eee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d61e5",
  "rgb": {
    "r": 93,
    "g": 97,
    "b": 229
  },
  "hsl": {
    "h": 238.235,
    "s": 72.34,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56361,
    "c": 0.19591,
    "h": 276.8
  },
  "luminance": 0.16534
}

Semantic roles & 50–950 ramp

primary
#5D61E5
secondary
#E7E6B7
accent
#CF11D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5D61E5

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

Preview Lab → · Contrast checker → · Palette generator →

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