#5A64EE#5A64EE

#5A64EE is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.4% C 0.205 H 274.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5A64EE
RGBrgb(90, 100, 238)
HSLhsl(236, 81%, 64%)
HSVhsv(236, 62%, 93%)
CMYKcmyk(62.2%, 58%, 0%, 6.7%)
CIE-LABlab(48.83, 37.46, -70.89)
CIE-LCHlch(48.83, 80.18, 297.85°)
OKLaboklab(57.38% 0.0171 -0.2039)
OKLCHoklch(57.38% 0.205 274.8)
XYZxyz(24.2012, 17.4590, 82.9669)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A64EE #EEE45A
analogous
#5AAEEE #5A64EE #9A5AEE
triadic
#5A64EE #EE5A64 #64EE5A
tetradic
#5A64EE #EE5AAE #EEE45A #5AEE9A
square
#5A64EE #EE5AAE #EEE45A #5AEE9A
split-complementary
#5A64EE #EE9A5A #AEEE5A
monochromatic
#131FBA #2330E8 #5A64EE #9198F4 #C9CCF9

Accessibility & contrast

On white

4.67
#5A64EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#5A64EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A64EE
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A64EE#FFFFFF#000000##FFFFFF
##5A64EE1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#006EEB
Tritanopia (blue-blind)
#00869F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5a64ee;
/* rgb */ color: rgb(90, 100, 238);
/* oklch */ color: oklch(57.4% 0.205 274.8);
Tailwind
colors: {
  custom: {
    50: '#9790f4',
    500: '#5a64ee',
    950: '#000000',
  },
}
SCSS
$custom: #5a64ee;
$custom-light: #9790f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a64ee",
  "rgb": {
    "r": 90,
    "g": 100,
    "b": 238
  },
  "hsl": {
    "h": 235.946,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57381,
    "c": 0.20464,
    "h": 274.8
  },
  "luminance": 0.17461
}

Semantic roles & 50–950 ramp

primary
#5A64EE
secondary
#ECE8B8
accent
#CF08DE
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A64EE

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

Preview Lab → · Contrast checker → · Palette generator →

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