#5A63DB#5A63DB

#5A63DB is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.8% C 0.181 H 275.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5A63DB
RGBrgb(90, 99, 219)
HSLhsl(236, 64%, 61%)
HSVhsv(236, 59%, 86%)
CMYKcmyk(58.9%, 54.8%, 0%, 14.1%)
CIE-LABlab(47.25, 31.84, -62.74)
CIE-LCHlch(47.25, 70.36, 296.91°)
OKLaboklab(55.78% 0.0177 -0.18)
OKLCHoklch(55.78% 0.181 275.6)
XYZxyz(21.4603, 16.2102, 69.0021)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A63DB #DBD25A
analogous
#5AA3DB #5A63DB #915ADB
triadic
#5A63DB #DB5A63 #63DB5A
tetradic
#5A63DB #DB5AA3 #DBD25A #5ADB91
square
#5A63DB #DB5AA3 #DBD25A #5ADB91
split-complementary
#5A63DB #DB915A #A3DB5A
monochromatic
#212A99 #2C37CB #5A63DB #8C92E6 #BEC2F1

Accessibility & contrast

On white

4.95
#5A63DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5A63DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A63DB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A63DB#FFFFFF#000000##FFFFFF
##5A63DB1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0676DF
Deuteranopia (green-blind)
#006BD9
Tritanopia (blue-blind)
#007F95
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5a63db;
/* rgb */ color: rgb(90, 99, 219);
/* oklch */ color: oklch(55.8% 0.181 275.6);
Tailwind
colors: {
  custom: {
    50: '#948fe7',
    500: '#5a63db',
    950: '#000000',
  },
}
SCSS
$custom: #5a63db;
$custom-light: #948fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a63db",
  "rgb": {
    "r": 90,
    "g": 99,
    "b": 219
  },
  "hsl": {
    "h": 235.814,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55778,
    "c": 0.18083,
    "h": 275.6
  },
  "luminance": 0.16212
}

Semantic roles & 50–950 ramp

primary
#5A63DB
secondary
#E1DEB0
accent
#C01ACC
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5A63DB

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

Preview Lab → · Contrast checker → · Palette generator →

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