#5F63E9#5F63E9

#5F63E9 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 57.1% C 0.198 H 276.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5F63E9
RGBrgb(95, 99, 233)
HSLhsl(238, 76%, 64%)
HSVhsv(238, 59%, 91%)
CMYKcmyk(59.2%, 57.5%, 0%, 8.6%)
CIE-LABlab(48.56, 37.25, -68.52)
CIE-LCHlch(48.56, 77.99, 298.53°)
OKLaboklab(57.15% 0.0235 -0.1968)
OKLCHoklch(57.15% 0.198 276.8)
XYZxyz(23.8844, 17.2380, 79.1436)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F63E9 #E9E55F
analogous
#5FA8E9 #5F63E9 #A05FE9
triadic
#5F63E9 #E95F63 #63E95F
tetradic
#5F63E9 #E95FA8 #E9E55F #5FE9A0
square
#5F63E9 #E95FA8 #E9E55F #5FE9A0
split-complementary
#5F63E9 #E9A05F #A8E95F
monochromatic
#191DB5 #292FE2 #5F63E9 #9597F0 #CBCCF8

Accessibility & contrast

On white

4.72
#5F63E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#5F63E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F63E9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F63E9#FFFFFF#000000##FFFFFF
##5F63E91.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#006EE6
Tritanopia (blue-blind)
#00839C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5f63e9;
/* rgb */ color: rgb(95, 99, 233);
/* oklch */ color: oklch(57.1% 0.198 276.8);
Tailwind
colors: {
  custom: {
    50: '#998ff1',
    500: '#5f63e9',
    950: '#000000',
  },
}
SCSS
$custom: #5f63e9;
$custom-light: #998ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f63e9",
  "rgb": {
    "r": 95,
    "g": 99,
    "b": 233
  },
  "hsl": {
    "h": 238.261,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57148,
    "c": 0.19822,
    "h": 276.8
  },
  "luminance": 0.1724
}

Semantic roles & 50–950 ramp

primary
#5F63E9
secondary
#EAE8BA
accent
#D20DD8
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F63E9

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

Preview Lab → · Contrast checker → · Palette generator →

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