#5F63F1#5F63F1

#5F63F1 is a mid, highly saturated blue. Relative luminance 0.177; OKLCH L 57.8% C 0.209 H 276.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5F63F1
RGBrgb(95, 99, 241)
HSLhsl(238, 84%, 66%)
HSVhsv(238, 61%, 95%)
CMYKcmyk(60.6%, 58.9%, 0%, 5.5%)
CIE-LABlab(49.14, 39.82, -72.07)
CIE-LCHlch(49.14, 82.34, 298.93°)
OKLaboklab(57.76% 0.0234 -0.2073)
OKLCHoklch(57.76% 0.209 276.5)
XYZxyz(25.0532, 17.7055, 85.2993)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F63F1 #F1ED5F
analogous
#5FACF1 #5F63F1 #A45FF1
triadic
#5F63F1 #F15F63 #63F15F
tetradic
#5F63F1 #F15FAC #F1ED5F #5FF1A4
square
#5F63F1 #F15FAC #F1ED5F #5FF1A4
split-complementary
#5F63F1 #F1A45F #ACF15F
monochromatic
#1116C4 #272CEC #5F63F1 #979AF6 #D0D1FB

Accessibility & contrast

On white

4.62
#5F63F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#5F63F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5F63F1
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F63F1#FFFFFF#000000##FFFFFF
##5F63F11.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF6
Deuteranopia (green-blind)
#006FEE
Tritanopia (blue-blind)
#0086A1
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f63f1;
/* rgb */ color: rgb(95, 99, 241);
/* oklch */ color: oklch(57.8% 0.209 276.5);
Tailwind
colors: {
  custom: {
    50: '#9a8ff7',
    500: '#5f63f1',
    950: '#000000',
  },
}
SCSS
$custom: #5f63f1;
$custom-light: #9a8ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f63f1",
  "rgb": {
    "r": 95,
    "g": 99,
    "b": 241
  },
  "hsl": {
    "h": 238.356,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.57758,
    "c": 0.20858,
    "h": 276.5
  },
  "luminance": 0.17707
}

Semantic roles & 50–950 ramp

primary
#5F63F1
secondary
#EEEDBE
accent
#DA05E0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F63F1

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

Preview Lab → · Contrast checker → · Palette generator →

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