#5A63DC#5A63DC

#5A63DC is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.9% C 0.182 H 275.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5A63DC
RGBrgb(90, 99, 220)
HSLhsl(236, 65%, 61%)
HSVhsv(236, 59%, 86%)
CMYKcmyk(59.1%, 55%, 0%, 13.7%)
CIE-LABlab(47.32, 32.17, -63.20)
CIE-LCHlch(47.32, 70.91, 296.98°)
OKLaboklab(55.85% 0.0177 -0.1813)
OKLCHoklch(55.85% 0.182 275.6)
XYZxyz(21.5924, 16.2630, 69.6975)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A63DC #DCD35A
analogous
#5AA4DC #5A63DC #925ADC
triadic
#5A63DC #DC5A63 #63DC5A
tetradic
#5A63DC #DC5AA4 #DCD35A #5ADC92
square
#5A63DC #DC5AA4 #DCD35A #5ADC92
split-complementary
#5A63DC #DC925A #A4DC5A
monochromatic
#21299B #2C37CD #5A63DC #8C93E7 #BFC2F1

Accessibility & contrast

On white

4.94
#5A63DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5A63DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A63DC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A63DC#FFFFFF#000000##FFFFFF
##5A63DC1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0176E0
Deuteranopia (green-blind)
#006BDA
Tritanopia (blue-blind)
#007F96
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5a63dc;
/* rgb */ color: rgb(90, 99, 220);
/* oklch */ color: oklch(55.9% 0.182 275.6);
Tailwind
colors: {
  custom: {
    50: '#948fe8',
    500: '#5a63dc',
    950: '#000000',
  },
}
SCSS
$custom: #5a63dc;
$custom-light: #948fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a63dc",
  "rgb": {
    "r": 90,
    "g": 99,
    "b": 220
  },
  "hsl": {
    "h": 235.846,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55851,
    "c": 0.18217,
    "h": 275.6
  },
  "luminance": 0.16265
}

Semantic roles & 50–950 ramp

primary
#5A63DC
secondary
#E2DEB0
accent
#C019CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5A63DC

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

Preview Lab → · Contrast checker → · Palette generator →

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