#5F63EA#5F63EA

#5F63EA is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.2% C 0.200 H 276.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5F63EA
RGBrgb(95, 99, 234)
HSLhsl(238, 77%, 65%)
HSVhsv(238, 59%, 92%)
CMYKcmyk(59.4%, 57.7%, 0%, 8.2%)
CIE-LABlab(48.63, 37.57, -68.96)
CIE-LCHlch(48.63, 78.53, 298.58°)
OKLaboklab(57.22% 0.0235 -0.1981)
OKLCHoklch(57.22% 0.2 276.8)
XYZxyz(24.0276, 17.2953, 79.8981)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F63EA #EAE65F
analogous
#5FA9EA #5F63EA #A05FEA
triadic
#5F63EA #EA5F63 #63EA5F
tetradic
#5F63EA #EA5FA9 #EAE65F #5FEAA0
square
#5F63EA #EA5FA9 #EAE65F #5FEAA0
split-complementary
#5F63EA #EAA05F #A9EA5F
monochromatic
#181DB7 #292EE3 #5F63EA #9598F1 #CBCCF8

Accessibility & contrast

On white

4.71
#5F63EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#5F63EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F63EA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F63EA#FFFFFF#000000##FFFFFF
##5F63EA1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#00839D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5f63ea;
/* rgb */ color: rgb(95, 99, 234);
/* oklch */ color: oklch(57.2% 0.200 276.8);
Tailwind
colors: {
  custom: {
    50: '#998ff2',
    500: '#5f63ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f63ea;
$custom-light: #998ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f63ea",
  "rgb": {
    "r": 95,
    "g": 99,
    "b": 234
  },
  "hsl": {
    "h": 238.273,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57223,
    "c": 0.19952,
    "h": 276.8
  },
  "luminance": 0.17297
}

Semantic roles & 50–950 ramp

primary
#5F63EA
secondary
#EAE9BA
accent
#D30CD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F63EA

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

Preview Lab → · Contrast checker → · Palette generator →

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