#5D64F2#5D64F2

#5D64F2 is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 57.9% C 0.209 H 275.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5D64F2
RGBrgb(93, 100, 242)
HSLhsl(237, 85%, 66%)
HSVhsv(237, 62%, 95%)
CMYKcmyk(61.6%, 58.7%, 0%, 5.1%)
CIE-LABlab(49.31, 39.23, -72.34)
CIE-LCHlch(49.31, 82.30, 298.47°)
OKLaboklab(57.88% 0.0203 -0.2081)
OKLCHoklch(57.88% 0.209 275.6)
XYZxyz(25.0931, 17.8503, 86.1103)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D64F2 #F2EB5D
analogous
#5DAEF2 #5D64F2 #A05DF2
triadic
#5D64F2 #F25D64 #64F25D
tetradic
#5D64F2 #F25DAE #F2EB5D #5DF2A0
square
#5D64F2 #F25DAE #F2EB5D #5DF2A0
split-complementary
#5D64F2 #F2A05D #AEF25D
monochromatic
#1018C5 #242EED #5D64F2 #969AF7 #CED0FB

Accessibility & contrast

On white

4.59
#5D64F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#5D64F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5D64F2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D64F2#FFFFFF#000000##FFFFFF
##5D64F21.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#006FEF
Tritanopia (blue-blind)
#0087A1
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5d64f2;
/* rgb */ color: rgb(93, 100, 242);
/* oklch */ color: oklch(57.9% 0.209 275.6);
Tailwind
colors: {
  custom: {
    50: '#9990f7',
    500: '#5d64f2',
    950: '#000000',
  },
}
SCSS
$custom: #5d64f2;
$custom-light: #9990f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d64f2",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 237.181,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.57878,
    "c": 0.2091,
    "h": 275.6
  },
  "luminance": 0.17852
}

Semantic roles & 50–950 ramp

primary
#5D64F2
secondary
#EEECBD
accent
#D704E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D64F2

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

Preview Lab → · Contrast checker → · Palette generator →

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