#5A63EF#5A63EF

#5A63EF is a mid, highly saturated blue. Relative luminance 0.173; OKLCH L 57.3% C 0.207 H 275.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5A63EF
RGBrgb(90, 99, 239)
HSLhsl(236, 82%, 65%)
HSVhsv(236, 62%, 94%)
CMYKcmyk(62.3%, 58.6%, 0%, 6.3%)
CIE-LABlab(48.67, 38.39, -71.72)
CIE-LCHlch(48.67, 81.35, 298.16°)
OKLaboklab(57.28% 0.0179 -0.2064)
OKLCHoklch(57.28% 0.207 275)
XYZxyz(24.2532, 17.3273, 83.7110)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A63EF #EFE65A
analogous
#5AAEEF #5A63EF #9C5AEF
triadic
#5A63EF #EF5A63 #63EF5A
tetradic
#5A63EF #EF5AAE #EFE65A #5AEF9C
square
#5A63EF #EF5AAE #EFE65A #5AEF9C
split-complementary
#5A63EF #EF9C5A #AEEF5A
monochromatic
#121DBC #222EEA #5A63EF #9298F4 #CACCFA

Accessibility & contrast

On white

4.70
#5A63EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5A63EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A63EF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A63EF#FFFFFF#000000##FFFFFF
##5A63EF1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#006DEC
Tritanopia (blue-blind)
#00859F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5a63ef;
/* rgb */ color: rgb(90, 99, 239);
/* oklch */ color: oklch(57.3% 0.207 275.0);
Tailwind
colors: {
  custom: {
    50: '#978ff5',
    500: '#5a63ef',
    950: '#000000',
  },
}
SCSS
$custom: #5a63ef;
$custom-light: #978ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a63ef",
  "rgb": {
    "r": 90,
    "g": 99,
    "b": 239
  },
  "hsl": {
    "h": 236.376,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57283,
    "c": 0.20715,
    "h": 275
  },
  "luminance": 0.17329
}

Semantic roles & 50–950 ramp

primary
#5A63EF
secondary
#ECE9B9
accent
#D207DF
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A63EF

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

Preview Lab → · Contrast checker → · Palette generator →

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