#5D61E8#5D61E8

#5D61E8 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.6% C 0.200 H 276.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5D61E8
RGBrgb(93, 97, 232)
HSLhsl(238, 75%, 64%)
HSVhsv(238, 60%, 91%)
CMYKcmyk(59.9%, 58.2%, 0%, 9%)
CIE-LABlab(47.88, 37.80, -69.06)
CIE-LCHlch(47.88, 78.73, 298.69°)
OKLaboklab(56.59% 0.0231 -0.1985)
OKLCHoklch(56.59% 0.2 276.6)
XYZxyz(23.3497, 16.7009, 78.3214)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D61E8 #E8E45D
analogous
#5DA6E8 #5D61E8 #9E5DE8
triadic
#5D61E8 #E85D61 #61E85D
tetradic
#5D61E8 #E85DA6 #E8E45D #5DE89E
square
#5D61E8 #E85DA6 #E8E45D #5DE89E
split-complementary
#5D61E8 #E89E5D #A6E85D
monochromatic
#191EB1 #272DE0 #5D61E8 #9395F0 #C8CAF7

Accessibility & contrast

On white

4.84
#5D61E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5D61E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D61E8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D61E8#FFFFFF#000000##FFFFFF
##5D61E81.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#006CE5
Tritanopia (blue-blind)
#00829B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d61e8;
/* rgb */ color: rgb(93, 97, 232);
/* oklch */ color: oklch(56.6% 0.200 276.6);
Tailwind
colors: {
  custom: {
    50: '#988ef0',
    500: '#5d61e8',
    950: '#000000',
  },
}
SCSS
$custom: #5d61e8;
$custom-light: #988ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d61e8",
  "rgb": {
    "r": 93,
    "g": 97,
    "b": 232
  },
  "hsl": {
    "h": 238.273,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56589,
    "c": 0.19983,
    "h": 276.6
  },
  "luminance": 0.16703
}

Semantic roles & 50–950 ramp

primary
#5D61E8
secondary
#E9E7B8
accent
#D20ED7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D61E8

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

Preview Lab → · Contrast checker → · Palette generator →

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