#5D61EB#5D61EB

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

Color values

HEX#5D61EB
RGBrgb(93, 97, 235)
HSLhsl(238, 78%, 64%)
HSVhsv(238, 60%, 92%)
CMYKcmyk(60.4%, 58.7%, 0%, 7.8%)
CIE-LABlab(48.10, 38.77, -70.39)
CIE-LCHlch(48.10, 80.36, 298.84°)
OKLaboklab(56.82% 0.0231 -0.2024)
OKLCHoklch(56.82% 0.204 276.5)
XYZxyz(23.7794, 16.8729, 80.5848)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D61EB #EBE75D
analogous
#5DA8EB #5D61EB #A05DEB
triadic
#5D61EB #EB5D61 #61EB5D
tetradic
#5D61EB #EB5DA8 #EBE75D #5DEBA0
square
#5D61EB #EB5DA8 #EBE75D #5DEBA0
split-complementary
#5D61EB #EBA05D #A8EB5D
monochromatic
#171BB7 #272CE4 #5D61EB #9396F2 #CACBF8

Accessibility & contrast

On white

4.80
#5D61EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#5D61EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D61EB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D61EB#FFFFFF#000000##FFFFFF
##5D61EB1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#006CE8
Tritanopia (blue-blind)
#00839D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d61eb;
/* rgb */ color: rgb(93, 97, 235);
/* oklch */ color: oklch(56.8% 0.204 276.5);
Tailwind
colors: {
  custom: {
    50: '#988ef2',
    500: '#5d61eb',
    950: '#000000',
  },
}
SCSS
$custom: #5d61eb;
$custom-light: #988ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d61eb",
  "rgb": {
    "r": 93,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 238.31,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56819,
    "c": 0.20372,
    "h": 276.5
  },
  "luminance": 0.16875
}

Semantic roles & 50–950 ramp

primary
#5D61EB
secondary
#EBE9B9
accent
#D40BDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D61EB

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

Preview Lab → · Contrast checker → · Palette generator →

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