#5A63BB#5A63BB

#5A63BB is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.6% C 0.136 H 276.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5A63BB
RGBrgb(90, 99, 187)
HSLhsl(234, 42%, 54%)
HSVhsv(234, 52%, 73%)
CMYKcmyk(51.9%, 47.1%, 0%, 26.7%)
CIE-LABlab(45.20, 21.45, -47.65)
CIE-LCHlch(45.20, 52.26, 294.23°)
OKLaboklab(53.58% 0.0151 -0.1356)
OKLCHoklch(53.58% 0.136 276.4)
XYZxyz(17.6451, 14.6841, 48.9086)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A63BB #BBB25A
analogous
#5A94BB #5A63BB #825ABB
triadic
#5A63BB #BB5A63 #63BB5A
tetradic
#5A63BB #BB5A94 #BBB25A #5ABB82
square
#5A63BB #BB5A94 #BBB25A #5ABB82
split-complementary
#5A63BB #BB825A #94BB5A
monochromatic
#2D336D #3F4799 #5A63BB #858CCD #B1B5DF

Accessibility & contrast

On white

5.33
#5A63BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5A63BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A63BB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A63BB#FFFFFF#000000##FFFFFF
##5A63BB1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6FBE
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#307686
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5a63bb;
/* rgb */ color: rgb(90, 99, 187);
/* oklch */ color: oklch(53.6% 0.136 276.4);
Tailwind
colors: {
  custom: {
    50: '#8f8fd0',
    500: '#5a63bb',
    950: '#000000',
  },
}
SCSS
$custom: #5a63bb;
$custom-light: #8f8fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a63bb",
  "rgb": {
    "r": 90,
    "g": 99,
    "b": 187
  },
  "hsl": {
    "h": 234.433,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53579,
    "c": 0.13644,
    "h": 276.4
  },
  "luminance": 0.14685
}

Semantic roles & 50–950 ramp

primary
#5A63BB
secondary
#CDC9A4
accent
#C656D1
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5A63BB

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

Preview Lab → · Contrast checker → · Palette generator →

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