#5D61EC#5D61EC

#5D61EC is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 56.9% C 0.205 H 276.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5D61EC
RGBrgb(93, 97, 236)
HSLhsl(238, 79%, 65%)
HSVhsv(238, 61%, 93%)
CMYKcmyk(60.6%, 58.9%, 0%, 7.5%)
CIE-LABlab(48.17, 39.09, -70.84)
CIE-LCHlch(48.17, 80.91, 298.89°)
OKLaboklab(56.9% 0.023 -0.2037)
OKLCHoklch(56.9% 0.205 276.5)
XYZxyz(23.9243, 16.9308, 81.3478)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D61EC #ECE85D
analogous
#5DA8EC #5D61EC #A15DEC
triadic
#5D61EC #EC5D61 #61EC5D
tetradic
#5D61EC #EC5DA8 #ECE85D #5DECA1
square
#5D61EC #EC5DA8 #ECE85D #5DECA1
split-complementary
#5D61EC #ECA15D #A8EC5D
monochromatic
#161AB9 #262CE6 #5D61EC #9496F2 #CBCCF9

Accessibility & contrast

On white

4.79
#5D61EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#5D61EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D61EC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D61EC#FFFFFF#000000##FFFFFF
##5D61EC1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#006CE9
Tritanopia (blue-blind)
#00839D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d61ec;
/* rgb */ color: rgb(93, 97, 236);
/* oklch */ color: oklch(56.9% 0.205 276.5);
Tailwind
colors: {
  custom: {
    50: '#988ef3',
    500: '#5d61ec',
    950: '#000000',
  },
}
SCSS
$custom: #5d61ec;
$custom-light: #988ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d61ec",
  "rgb": {
    "r": 93,
    "g": 97,
    "b": 236
  },
  "hsl": {
    "h": 238.322,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56897,
    "c": 0.20501,
    "h": 276.5
  },
  "luminance": 0.16933
}

Semantic roles & 50–950 ramp

primary
#5D61EC
secondary
#EBEABA
accent
#D50ADB
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D61EC

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

Preview Lab → · Contrast checker → · Palette generator →

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