#5C64F5#5C64F5

#5C64F5 is a mid, highly saturated blue. Relative luminance 0.180; OKLCH L 58.0% C 0.213 H 275.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5C64F5
RGBrgb(92, 100, 245)
HSLhsl(237, 88%, 66%)
HSVhsv(237, 62%, 96%)
CMYKcmyk(62.4%, 59.2%, 0%, 3.9%)
CIE-LABlab(49.47, 40.05, -73.76)
CIE-LCHlch(49.47, 83.94, 298.50°)
OKLaboklab(58.05% 0.0192 -0.2123)
OKLCHoklch(58.05% 0.213 275.2)
XYZxyz(25.4468, 17.9801, 88.4980)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C64F5 #F5ED5C
analogous
#5CB0F5 #5C64F5 #A05CF5
triadic
#5C64F5 #F55C64 #64F55C
tetradic
#5C64F5 #F55CB0 #F5ED5C #5CF5A0
square
#5C64F5 #F55CB0 #F5ED5C #5CF5A0
split-complementary
#5C64F5 #F5A05C #B0F55C
monochromatic
#0C16CA #222DF1 #5C64F5 #969BF9 #CFD2FC

Accessibility & contrast

On white

4.57
#5C64F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#5C64F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C64F5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C64F5#FFFFFF#000000##000000
##5C64F51.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFA
Deuteranopia (green-blind)
#006FF2
Tritanopia (blue-blind)
#0088A3
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5c64f5;
/* rgb */ color: rgb(92, 100, 245);
/* oklch */ color: oklch(58.0% 0.213 275.2);
Tailwind
colors: {
  custom: {
    50: '#9990f9',
    500: '#5c64f5',
    950: '#000000',
  },
}
SCSS
$custom: #5c64f5;
$custom-light: #9990f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c64f5",
  "rgb": {
    "r": 92,
    "g": 100,
    "b": 245
  },
  "hsl": {
    "h": 236.863,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58048,
    "c": 0.21318,
    "h": 275.2
  },
  "luminance": 0.17982
}

Semantic roles & 50–950 ramp

primary
#5C64F5
secondary
#F0EDBD
accent
#D900E5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C64F5

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

Preview Lab → · Contrast checker → · Palette generator →

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