#5D61E4#5D61E4

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

Color values

HEX#5D61E4
RGBrgb(93, 97, 228)
HSLhsl(238, 71%, 63%)
HSVhsv(238, 59%, 89%)
CMYKcmyk(59.2%, 57.5%, 0%, 10.6%)
CIE-LABlab(47.59, 36.51, -67.27)
CIE-LCHlch(47.59, 76.54, 298.49°)
OKLaboklab(56.29% 0.0231 -0.1932)
OKLCHoklch(56.29% 0.195 276.8)
XYZxyz(22.7880, 16.4763, 75.3631)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D61E4 #E4E05D
analogous
#5DA5E4 #5D61E4 #9C5DE4
triadic
#5D61E4 #E45D61 #61E45D
tetradic
#5D61E4 #E45DA5 #E4E05D #5DE49C
square
#5D61E4 #E45DA5 #E4E05D #5DE49C
split-complementary
#5D61E4 #E49C5D #A5E45D
monochromatic
#1C21AA #292EDB #5D61E4 #9194ED #C6C7F5

Accessibility & contrast

On white

4.89
#5D61E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5D61E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D61E4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D61E4#FFFFFF#000000##FFFFFF
##5D61E41.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#006BE1
Tritanopia (blue-blind)
#008099
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d61e4;
/* rgb */ color: rgb(93, 97, 228);
/* oklch */ color: oklch(56.3% 0.195 276.8);
Tailwind
colors: {
  custom: {
    50: '#978eed',
    500: '#5d61e4',
    950: '#000000',
  },
}
SCSS
$custom: #5d61e4;
$custom-light: #978eed;
$custom-dark: #000000;
JSON
{
  "hex": "#5d61e4",
  "rgb": {
    "r": 93,
    "g": 97,
    "b": 228
  },
  "hsl": {
    "h": 238.222,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56285,
    "c": 0.19461,
    "h": 276.8
  },
  "luminance": 0.16478
}

Semantic roles & 50–950 ramp

primary
#5D61E4
secondary
#E7E5B6
accent
#CE12D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5D61E4

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

Preview Lab → · Contrast checker → · Palette generator →

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