#5A63EB#5A63EB

#5A63EB is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.0% C 0.202 H 275.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5A63EB
RGBrgb(90, 99, 235)
HSLhsl(236, 78%, 64%)
HSVhsv(236, 62%, 92%)
CMYKcmyk(61.7%, 57.9%, 0%, 7.8%)
CIE-LABlab(48.38, 37.08, -69.95)
CIE-LCHlch(48.38, 79.17, 297.93°)
OKLaboklab(56.97% 0.018 -0.2012)
OKLCHoklch(56.97% 0.202 275.1)
XYZxyz(23.6688, 17.0936, 80.6333)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A63EB #EBE25A
analogous
#5AABEB #5A63EB #995AEB
triadic
#5A63EB #EB5A63 #63EB5A
tetradic
#5A63EB #EB5AAB #EBE25A #5AEB99
square
#5A63EB #EB5AAB #EBE25A #5AEB99
split-complementary
#5A63EB #EB995A #ABEB5A
monochromatic
#1620B5 #232FE4 #5A63EB #9197F2 #C7CAF8

Accessibility & contrast

On white

4.75
#5A63EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5A63EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A63EB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A63EB#FFFFFF#000000##FFFFFF
##5A63EB1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#006DE8
Tritanopia (blue-blind)
#00849D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5a63eb;
/* rgb */ color: rgb(90, 99, 235);
/* oklch */ color: oklch(57.0% 0.202 275.1);
Tailwind
colors: {
  custom: {
    50: '#968ff2',
    500: '#5a63eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a63eb;
$custom-light: #968ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a63eb",
  "rgb": {
    "r": 90,
    "g": 99,
    "b": 235
  },
  "hsl": {
    "h": 236.276,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56975,
    "c": 0.20196,
    "h": 275.1
  },
  "luminance": 0.17095
}

Semantic roles & 50–950 ramp

primary
#5A63EB
secondary
#EAE7B7
accent
#CE0BDB
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A63EB

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

Preview Lab → · Contrast checker → · Palette generator →

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