#5F63DB#5F63DB

#5F63DB is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.1% C 0.180 H 277.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5F63DB
RGBrgb(95, 99, 219)
HSLhsl(238, 63%, 62%)
HSVhsv(238, 57%, 86%)
CMYKcmyk(56.6%, 54.8%, 0%, 14.1%)
CIE-LABlab(47.58, 32.75, -62.18)
CIE-LCHlch(47.58, 70.28, 297.78°)
OKLaboklab(56.12% 0.0234 -0.1782)
OKLCHoklch(56.12% 0.18 277.5)
XYZxyz(21.9633, 16.4695, 69.0257)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F63DB #DBD75F
analogous
#5FA1DB #5F63DB #995FDB
triadic
#5F63DB #DB5F63 #63DB5F
tetradic
#5F63DB #DB5FA1 #DBD75F #5FDB99
square
#5F63DB #DB5FA1 #DBD75F #5FDB99
split-complementary
#5F63DB #DB995F #A1DB5F
monochromatic
#23279C #2E34CE #5F63DB #9194E6 #C3C4F1

Accessibility & contrast

On white

4.89
#5F63DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5F63DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F63DB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F63DB#FFFFFF#000000##FFFFFF
##5F63DB1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C76DF
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#157F95
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5f63db;
/* rgb */ color: rgb(95, 99, 219);
/* oklch */ color: oklch(56.1% 0.180 277.5);
Tailwind
colors: {
  custom: {
    50: '#978fe7',
    500: '#5f63db',
    950: '#000000',
  },
}
SCSS
$custom: #5f63db;
$custom-light: #978fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f63db",
  "rgb": {
    "r": 95,
    "g": 99,
    "b": 219
  },
  "hsl": {
    "h": 238.065,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56116,
    "c": 0.1797,
    "h": 277.5
  },
  "luminance": 0.16471
}

Semantic roles & 50–950 ramp

primary
#5F63DB
secondary
#E2E0B4
accent
#C51ACB
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5F63DB

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

Preview Lab → · Contrast checker → · Palette generator →

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