#5A63DF#5A63DF

#5A63DF is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.1% C 0.186 H 275.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5A63DF
RGBrgb(90, 99, 223)
HSLhsl(236, 68%, 61%)
HSVhsv(236, 60%, 87%)
CMYKcmyk(59.6%, 55.6%, 0%, 12.5%)
CIE-LABlab(47.53, 33.15, -64.56)
CIE-LCHlch(47.53, 72.57, 297.18°)
OKLaboklab(56.07% 0.0178 -0.1853)
OKLCHoklch(56.07% 0.186 275.5)
XYZxyz(21.9932, 16.4234, 71.8088)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A63DF #DFD65A
analogous
#5AA6DF #5A63DF #945ADF
triadic
#5A63DF #DF5A63 #63DF5A
tetradic
#5A63DF #DF5AA6 #DFD65A #5ADF94
square
#5A63DF #DF5AA6 #DFD65A #5ADF94
split-complementary
#5A63DF #DF945A #A6DF5A
monochromatic
#1F28A0 #2934D3 #5A63DF #8D93E9 #C1C4F3

Accessibility & contrast

On white

4.90
#5A63DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#5A63DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A63DF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A63DF#FFFFFF#000000##FFFFFF
##5A63DF1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#006BDC
Tritanopia (blue-blind)
#008097
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5a63df;
/* rgb */ color: rgb(90, 99, 223);
/* oklch */ color: oklch(56.1% 0.186 275.5);
Tailwind
colors: {
  custom: {
    50: '#948fea',
    500: '#5a63df',
    950: '#000000',
  },
}
SCSS
$custom: #5a63df;
$custom-light: #948fea;
$custom-dark: #000000;
JSON
{
  "hex": "#5a63df",
  "rgb": {
    "r": 90,
    "g": 99,
    "b": 223
  },
  "hsl": {
    "h": 235.94,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56072,
    "c": 0.18618,
    "h": 275.5
  },
  "luminance": 0.16425
}

Semantic roles & 50–950 ramp

primary
#5A63DF
secondary
#E3E0B2
accent
#C316CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5A63DF

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

Preview Lab → · Contrast checker → · Palette generator →

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