#5A63CA#5A63CA

#5A63CA is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.6% C 0.158 H 276.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5A63CA
RGBrgb(90, 99, 202)
HSLhsl(235, 51%, 57%)
HSVhsv(235, 55%, 79%)
CMYKcmyk(55.4%, 51%, 0%, 20.8%)
CIE-LABlab(46.12, 26.29, -54.84)
CIE-LCHlch(46.12, 60.82, 295.61°)
OKLaboklab(54.58% 0.0167 -0.1567)
OKLCHoklch(54.58% 0.158 276.1)
XYZxyz(19.3355, 15.3603, 57.8116)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A63CA #CAC15A
analogous
#5A9BCA #5A63CA #895ACA
triadic
#5A63CA #CA5A63 #63CA5A
tetradic
#5A63CA #CA5A9B #CAC15A #5ACA89
square
#5A63CA #CA5A9B #CAC15A #5ACA89
split-complementary
#5A63CA #CA895A #9BCA5A
monochromatic
#293080 #3842AF #5A63CA #888FD9 #B7BBE8

Accessibility & contrast

On white

5.16
#5A63CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5A63CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A63CA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A63CA#FFFFFF#000000##FFFFFF
##5A63CA1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D72CE
Deuteranopia (green-blind)
#1A69C8
Tritanopia (blue-blind)
#1E7A8D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a63ca;
/* rgb */ color: rgb(90, 99, 202);
/* oklch */ color: oklch(54.6% 0.158 276.1);
Tailwind
colors: {
  custom: {
    50: '#918fdb',
    500: '#5a63ca',
    950: '#000000',
  },
}
SCSS
$custom: #5a63ca;
$custom-light: #918fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a63ca",
  "rgb": {
    "r": 90,
    "g": 99,
    "b": 202
  },
  "hsl": {
    "h": 235.179,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54576,
    "c": 0.15761,
    "h": 276.1
  },
  "luminance": 0.15362
}

Semantic roles & 50–950 ramp

primary
#5A63CA
secondary
#D7D3A9
accent
#CF4DDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A63CA

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

Preview Lab → · Contrast checker → · Palette generator →

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