#5F63CD#5F63CD

#5F63CD is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.1% C 0.161 H 278.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5F63CD
RGBrgb(95, 99, 205)
HSLhsl(238, 52%, 59%)
HSVhsv(238, 54%, 80%)
CMYKcmyk(53.7%, 51.7%, 0%, 19.6%)
CIE-LABlab(46.66, 28.27, -55.68)
CIE-LCHlch(46.66, 62.45, 296.92°)
OKLaboklab(55.13% 0.0227 -0.159)
OKLCHoklch(55.13% 0.161 278.1)
XYZxyz(20.1971, 15.7631, 59.7241)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F63CD #CDC95F
analogous
#5F9ACD #5F63CD #925FCD
triadic
#5F63CD #CD5F63 #63CD5F
tetradic
#5F63CD #CD5F9A #CDC95F #5FCD92
square
#5F63CD #CD5F9A #CDC95F #5FCD92
split-complementary
#5F63CD #CD925F #9ACD5F
monochromatic
#2A2E87 #393DB6 #5F63CD #8E90DC #BCBEEA

Accessibility & contrast

On white

5.06
#5F63CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5F63CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F63CD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F63CD#FFFFFF#000000##FFFFFF
##5F63CD1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B73D1
Deuteranopia (green-blind)
#1A6ACB
Tritanopia (blue-blind)
#2C7B8E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5f63cd;
/* rgb */ color: rgb(95, 99, 205);
/* oklch */ color: oklch(55.1% 0.161 278.1);
Tailwind
colors: {
  custom: {
    50: '#948fdd',
    500: '#5f63cd',
    950: '#000000',
  },
}
SCSS
$custom: #5f63cd;
$custom-light: #948fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f63cd",
  "rgb": {
    "r": 95,
    "g": 99,
    "b": 205
  },
  "hsl": {
    "h": 237.818,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55131,
    "c": 0.16065,
    "h": 278.1
  },
  "luminance": 0.15764
}

Semantic roles & 50–950 ramp

primary
#5F63CD
secondary
#DAD8AE
accent
#D74CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5F63CD

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

Preview Lab → · Contrast checker → · Palette generator →

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