#5A63E8#5A63E8

#5A63E8 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.7% C 0.198 H 275.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5A63E8
RGBrgb(90, 99, 232)
HSLhsl(236, 76%, 63%)
HSVhsv(236, 61%, 91%)
CMYKcmyk(61.2%, 57.3%, 0%, 9%)
CIE-LABlab(48.16, 36.10, -68.61)
CIE-LCHlch(48.16, 77.53, 297.75°)
OKLaboklab(56.75% 0.018 -0.1972)
OKLCHoklch(56.75% 0.198 275.2)
XYZxyz(23.2390, 16.9217, 78.3699)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A63E8 #E8DF5A
analogous
#5AAAE8 #5A63E8 #985AE8
triadic
#5A63E8 #E85A63 #63E85A
tetradic
#5A63E8 #E85AAA #E8DF5A #5AE898
square
#5A63E8 #E85AAA #E8DF5A #5AE898
split-complementary
#5A63E8 #E8985A #AAE85A
monochromatic
#1822AF #2430E1 #5A63E8 #9096EF #C5C9F7

Accessibility & contrast

On white

4.79
#5A63E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#5A63E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A63E8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A63E8#FFFFFF#000000##FFFFFF
##5A63E81.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#006CE5
Tritanopia (blue-blind)
#00839C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5a63e8;
/* rgb */ color: rgb(90, 99, 232);
/* oklch */ color: oklch(56.7% 0.198 275.2);
Tailwind
colors: {
  custom: {
    50: '#968ff0',
    500: '#5a63e8',
    950: '#000000',
  },
}
SCSS
$custom: #5a63e8;
$custom-light: #968ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a63e8",
  "rgb": {
    "r": 90,
    "g": 99,
    "b": 232
  },
  "hsl": {
    "h": 236.197,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56746,
    "c": 0.19806,
    "h": 275.2
  },
  "luminance": 0.16924
}

Semantic roles & 50–950 ramp

primary
#5A63E8
secondary
#E8E5B5
accent
#CB0ED8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5A63E8

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

Preview Lab → · Contrast checker → · Palette generator →

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