#5A63EC#5A63EC

#5A63EC is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.1% C 0.203 H 275.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5A63EC
RGBrgb(90, 99, 236)
HSLhsl(236, 79%, 64%)
HSVhsv(236, 62%, 93%)
CMYKcmyk(61.9%, 58.1%, 0%, 7.5%)
CIE-LABlab(48.45, 37.41, -70.39)
CIE-LCHlch(48.45, 79.71, 297.99°)
OKLaboklab(57.05% 0.0179 -0.2025)
OKLCHoklch(57.05% 0.203 275.1)
XYZxyz(23.8136, 17.1515, 81.3963)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A63EC #ECE35A
analogous
#5AACEC #5A63EC #9A5AEC
triadic
#5A63EC #EC5A63 #63EC5A
tetradic
#5A63EC #EC5AAC #ECE35A #5AEC9A
square
#5A63EC #EC5AAC #ECE35A #5AEC9A
split-complementary
#5A63EC #EC9A5A #ACEC5A
monochromatic
#151FB7 #232FE6 #5A63EC #9197F2 #C8CBF9

Accessibility & contrast

On white

4.74
#5A63EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5A63EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A63EC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A63EC#FFFFFF#000000##FFFFFF
##5A63EC1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#006DE9
Tritanopia (blue-blind)
#00849E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5a63ec;
/* rgb */ color: rgb(90, 99, 236);
/* oklch */ color: oklch(57.1% 0.203 275.1);
Tailwind
colors: {
  custom: {
    50: '#978ff3',
    500: '#5a63ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a63ec;
$custom-light: #978ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a63ec",
  "rgb": {
    "r": 90,
    "g": 99,
    "b": 236
  },
  "hsl": {
    "h": 236.301,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57052,
    "c": 0.20326,
    "h": 275.1
  },
  "luminance": 0.17153
}

Semantic roles & 50–950 ramp

primary
#5A63EC
secondary
#EBE7B7
accent
#CF0ADC
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A63EC

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

Preview Lab → · Contrast checker → · Palette generator →

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