#5F63ED#5F63ED

#5F63ED is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.5% C 0.203 H 276.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5F63ED
RGBrgb(95, 99, 237)
HSLhsl(238, 80%, 65%)
HSVhsv(238, 60%, 93%)
CMYKcmyk(59.9%, 58.2%, 0%, 7.1%)
CIE-LABlab(48.85, 38.54, -70.30)
CIE-LCHlch(48.85, 80.17, 298.73°)
OKLaboklab(57.45% 0.0235 -0.2021)
OKLCHoklch(57.45% 0.203 276.6)
XYZxyz(24.4623, 17.4691, 82.1871)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F63ED #EDE95F
analogous
#5FAAED #5F63ED #A25FED
triadic
#5F63ED #ED5F63 #63ED5F
tetradic
#5F63ED #ED5FAA #EDE95F #5FEDA2
square
#5F63ED #ED5FAA #EDE95F #5FEDA2
split-complementary
#5F63ED #EDA25F #AAED5F
monochromatic
#151ABC #282DE7 #5F63ED #9699F3 #CDCEF9

Accessibility & contrast

On white

4.67
#5F63ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#5F63ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F63ED
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F63ED#FFFFFF#000000##FFFFFF
##5F63ED1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#006EEA
Tritanopia (blue-blind)
#00849E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5f63ed;
/* rgb */ color: rgb(95, 99, 237);
/* oklch */ color: oklch(57.5% 0.203 276.6);
Tailwind
colors: {
  custom: {
    50: '#998ff4',
    500: '#5f63ed',
    950: '#000000',
  },
}
SCSS
$custom: #5f63ed;
$custom-light: #998ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f63ed",
  "rgb": {
    "r": 95,
    "g": 99,
    "b": 237
  },
  "hsl": {
    "h": 238.31,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57451,
    "c": 0.20342,
    "h": 276.6
  },
  "luminance": 0.17471
}

Semantic roles & 50–950 ramp

primary
#5F63ED
secondary
#ECEBBC
accent
#D609DC
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F63ED

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

Preview Lab → · Contrast checker → · Palette generator →

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