#5F63DA#5F63DA

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

Color values

HEX#5F63DA
RGBrgb(95, 99, 218)
HSLhsl(238, 62%, 61%)
HSVhsv(238, 56%, 85%)
CMYKcmyk(56.4%, 54.6%, 0%, 14.5%)
CIE-LABlab(47.52, 32.43, -61.72)
CIE-LCHlch(47.52, 69.72, 297.72°)
OKLaboklab(56.04% 0.0233 -0.1768)
OKLCHoklch(56.04% 0.178 277.5)
XYZxyz(21.8320, 16.4170, 68.3344)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F63DA #DAD65F
analogous
#5FA1DA #5F63DA #995FDA
triadic
#5F63DA #DA5F63 #63DA5F
tetradic
#5F63DA #DA5FA1 #DAD65F #5FDA99
square
#5F63DA #DA5FA1 #DAD65F #5FDA99
split-complementary
#5F63DA #DA995F #A1DA5F
monochromatic
#24289B #2F34CD #5F63DA #9193E5 #C2C4F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F63DA#FFFFFF#000000##FFFFFF
##5F63DA1.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)
#1076DE
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#177F95
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5f63da;
/* rgb */ color: rgb(95, 99, 218);
/* oklch */ color: oklch(56.0% 0.178 277.5);
Tailwind
colors: {
  custom: {
    50: '#968fe6',
    500: '#5f63da',
    950: '#000000',
  },
}
SCSS
$custom: #5f63da;
$custom-light: #968fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f63da",
  "rgb": {
    "r": 95,
    "g": 99,
    "b": 218
  },
  "hsl": {
    "h": 238.049,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56044,
    "c": 0.17836,
    "h": 277.5
  },
  "luminance": 0.16419
}

Semantic roles & 50–950 ramp

primary
#5F63DA
secondary
#E1E0B3
accent
#C41BCA
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5F63DA

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

Preview Lab → · Contrast checker → · Palette generator →

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