#5B63BF#5B63BF

#5B63BF is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.9% C 0.142 H 276.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5B63BF
RGBrgb(91, 99, 191)
HSLhsl(235, 44%, 55%)
HSVhsv(235, 52%, 75%)
CMYKcmyk(52.4%, 48.2%, 0%, 25.1%)
CIE-LABlab(45.51, 22.95, -49.48)
CIE-LCHlch(45.51, 54.54, 294.88°)
OKLaboklab(53.91% 0.0168 -0.1409)
OKLCHoklch(53.91% 0.142 276.8)
XYZxyz(18.1772, 14.9083, 51.1999)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B63BF #BFB75B
analogous
#5B95BF #5B63BF #855BBF
triadic
#5B63BF #BF5B63 #63BF5B
tetradic
#5B63BF #BF5B95 #BFB75B #5BBF85
square
#5B63BF #BF5B95 #BFB75B #5BBF85
split-complementary
#5B63BF #BF855B #95BF5B
monochromatic
#2D3273 #3E469F #5B63BF #878DD0 #B3B7E1

Accessibility & contrast

On white

5.27
#5B63BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5B63BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B63BF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B63BF#FFFFFF#000000##FFFFFF
##5B63BF1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3970C2
Deuteranopia (green-blind)
#2E68BD
Tritanopia (blue-blind)
#2F7788
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5b63bf;
/* rgb */ color: rgb(91, 99, 191);
/* oklch */ color: oklch(53.9% 0.142 276.8);
Tailwind
colors: {
  custom: {
    50: '#908fd3',
    500: '#5b63bf',
    950: '#000000',
  },
}
SCSS
$custom: #5b63bf;
$custom-light: #908fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b63bf",
  "rgb": {
    "r": 91,
    "g": 99,
    "b": 191
  },
  "hsl": {
    "h": 235.2,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53909,
    "c": 0.14191,
    "h": 276.8
  },
  "luminance": 0.14909
}

Semantic roles & 50–950 ramp

primary
#5B63BF
secondary
#D0CCA6
accent
#C954D4
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5B63BF

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

Preview Lab → · Contrast checker → · Palette generator →

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