#5C64F1#5C64F1

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

Color values

HEX#5C64F1
RGBrgb(92, 100, 241)
HSLhsl(237, 84%, 65%)
HSVhsv(237, 62%, 95%)
CMYKcmyk(61.8%, 58.5%, 0%, 5.5%)
CIE-LABlab(49.18, 38.75, -72.01)
CIE-LCHlch(49.18, 81.77, 298.29°)
OKLaboklab(57.74% 0.0192 -0.2072)
OKLCHoklch(57.74% 0.208 275.3)
XYZxyz(24.8428, 17.7385, 85.3167)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C64F1 #F1E95C
analogous
#5CAEF1 #5C64F1 #9F5CF1
triadic
#5C64F1 #F15C64 #64F15C
tetradic
#5C64F1 #F15CAE #F1E95C #5CF19F
square
#5C64F1 #F15CAE #F1E95C #5CF19F
split-complementary
#5C64F1 #F19F5C #AEF15C
monochromatic
#111AC2 #242EEC #5C64F1 #949AF6 #CDCFFB

Accessibility & contrast

On white

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

On black

4.55
#5C64F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5C64F1#FFFFFF#000000##FFFFFF
##5C64F11.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c64f1;
/* rgb */ color: rgb(92, 100, 241);
/* oklch */ color: oklch(57.7% 0.208 275.3);
Tailwind
colors: {
  custom: {
    50: '#9890f7',
    500: '#5c64f1',
    950: '#000000',
  },
}
SCSS
$custom: #5c64f1;
$custom-light: #9890f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c64f1",
  "rgb": {
    "r": 92,
    "g": 100,
    "b": 241
  },
  "hsl": {
    "h": 236.779,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57738,
    "c": 0.20805,
    "h": 275.3
  },
  "luminance": 0.17741
}

Semantic roles & 50–950 ramp

primary
#5C64F1
secondary
#EEEBBB
accent
#D505E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C64F1

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

Preview Lab → · Contrast checker → · Palette generator →

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