#5D63E4#5D63E4

#5D63E4 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.6% C 0.192 H 276.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5D63E4
RGBrgb(93, 99, 228)
HSLhsl(237, 71%, 63%)
HSVhsv(237, 59%, 89%)
CMYKcmyk(59.2%, 56.6%, 0%, 10.6%)
CIE-LABlab(48.07, 35.30, -66.50)
CIE-LCHlch(48.07, 75.28, 297.96°)
OKLaboklab(56.64% 0.0213 -0.1909)
OKLCHoklch(56.64% 0.192 276.4)
XYZxyz(22.9751, 16.8505, 75.4255)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D63E4 #E4DE5D
analogous
#5DA7E4 #5D63E4 #9A5DE4
triadic
#5D63E4 #E45D63 #63E45D
tetradic
#5D63E4 #E45DA7 #E4DE5D #5DE49A
square
#5D63E4 #E45DA7 #E4DE5D #5DE49A
split-complementary
#5D63E4 #E49A5D #A7E45D
monochromatic
#1C23AA #2930DB #5D63E4 #9196ED #C6C8F5

Accessibility & contrast

On white

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

On black

4.37
#5D63E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5D63E4#FFFFFF#000000##FFFFFF
##5D63E41.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#006CE1
Tritanopia (blue-blind)
#00829A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d63e4;
/* rgb */ color: rgb(93, 99, 228);
/* oklch */ color: oklch(56.6% 0.192 276.4);
Tailwind
colors: {
  custom: {
    50: '#978fed',
    500: '#5d63e4',
    950: '#000000',
  },
}
SCSS
$custom: #5d63e4;
$custom-light: #978fed;
$custom-dark: #000000;
JSON
{
  "hex": "#5d63e4",
  "rgb": {
    "r": 93,
    "g": 99,
    "b": 228
  },
  "hsl": {
    "h": 237.333,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.5664,
    "c": 0.19211,
    "h": 276.4
  },
  "luminance": 0.16852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D63E4

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

Preview Lab → · Contrast checker → · Palette generator →

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