#5D61EA#5D61EA

#5D61EA is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 56.7% C 0.202 H 276.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5D61EA
RGBrgb(93, 97, 234)
HSLhsl(238, 77%, 64%)
HSVhsv(238, 60%, 92%)
CMYKcmyk(60.3%, 58.5%, 0%, 8.2%)
CIE-LABlab(48.03, 38.45, -69.95)
CIE-LCHlch(48.03, 79.82, 298.79°)
OKLaboklab(56.74% 0.0231 -0.2011)
OKLCHoklch(56.74% 0.202 276.5)
XYZxyz(23.6354, 16.8152, 79.8261)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D61EA #EAE65D
analogous
#5DA8EA #5D61EA #A05DEA
triadic
#5D61EA #EA5D61 #61EA5D
tetradic
#5D61EA #EA5DA8 #EAE65D #5DEAA0
square
#5D61EA #EA5DA8 #EAE65D #5DEAA0
split-complementary
#5D61EA #EAA05D #A8EA5D
monochromatic
#171CB5 #272CE3 #5D61EA #9396F1 #C9CBF8

Accessibility & contrast

On white

4.81
#5D61EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#5D61EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D61EA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D61EA#FFFFFF#000000##FFFFFF
##5D61EA1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#006CE7
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d61ea;
/* rgb */ color: rgb(93, 97, 234);
/* oklch */ color: oklch(56.7% 0.202 276.5);
Tailwind
colors: {
  custom: {
    50: '#988ef2',
    500: '#5d61ea',
    950: '#000000',
  },
}
SCSS
$custom: #5d61ea;
$custom-light: #988ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d61ea",
  "rgb": {
    "r": 93,
    "g": 97,
    "b": 234
  },
  "hsl": {
    "h": 238.298,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56742,
    "c": 0.20242,
    "h": 276.5
  },
  "luminance": 0.16817
}

Semantic roles & 50–950 ramp

primary
#5D61EA
secondary
#EAE9B9
accent
#D30CD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D61EA

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

Preview Lab → · Contrast checker → · Palette generator →

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