#5F63E7#5F63E7

#5F63E7 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 57.0% C 0.196 H 276.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5F63E7
RGBrgb(95, 99, 231)
HSLhsl(238, 74%, 64%)
HSVhsv(238, 59%, 91%)
CMYKcmyk(58.9%, 57.1%, 0%, 9.4%)
CIE-LABlab(48.42, 36.61, -67.62)
CIE-LCHlch(48.42, 76.90, 298.43°)
OKLaboklab(57% 0.0235 -0.1942)
OKLCHoklch(57% 0.196 276.9)
XYZxyz(23.6003, 17.1243, 77.6475)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F63E7 #E7E35F
analogous
#5FA7E7 #5F63E7 #9F5FE7
triadic
#5F63E7 #E75F63 #63E75F
tetradic
#5F63E7 #E75FA7 #E7E35F #5FE79F
square
#5F63E7 #E75FA7 #E7E35F #5FE79F
split-complementary
#5F63E7 #E79F5F #A7E75F
monochromatic
#1B1FB1 #2A2FDF #5F63E7 #9497EF #C9CBF7

Accessibility & contrast

On white

4.75
#5F63E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5F63E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F63E7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F63E7#FFFFFF#000000##FFFFFF
##5F63E71.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#006DE4
Tritanopia (blue-blind)
#00839B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5f63e7;
/* rgb */ color: rgb(95, 99, 231);
/* oklch */ color: oklch(57.0% 0.196 276.9);
Tailwind
colors: {
  custom: {
    50: '#988fef',
    500: '#5f63e7',
    950: '#000000',
  },
}
SCSS
$custom: #5f63e7;
$custom-light: #988fef;
$custom-dark: #000000;
JSON
{
  "hex": "#5f63e7",
  "rgb": {
    "r": 95,
    "g": 99,
    "b": 231
  },
  "hsl": {
    "h": 238.235,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56998,
    "c": 0.19561,
    "h": 276.9
  },
  "luminance": 0.17126
}

Semantic roles & 50–950 ramp

primary
#5F63E7
secondary
#E9E7B9
accent
#D00FD6
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F63E7

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

Preview Lab → · Contrast checker → · Palette generator →

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