#5E64F2#5E64F2

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

Color values

HEX#5E64F2
RGBrgb(94, 100, 242)
HSLhsl(238, 85%, 66%)
HSVhsv(238, 61%, 95%)
CMYKcmyk(61.2%, 58.7%, 0%, 5.1%)
CIE-LABlab(49.38, 39.39, -72.24)
CIE-LCHlch(49.38, 82.28, 298.60°)
OKLaboklab(57.94% 0.0214 -0.2078)
OKLCHoklch(57.94% 0.209 275.9)
XYZxyz(25.1951, 17.9028, 86.1151)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E64F2 #F2EC5E
analogous
#5EAEF2 #5E64F2 #A25EF2
triadic
#5E64F2 #F25E64 #64F25E
tetradic
#5E64F2 #F25EAE #F2EC5E #5EF2A2
square
#5E64F2 #F25EAE #F2EC5E #5EF2A2
split-complementary
#5E64F2 #F2A25E #AEF25E
monochromatic
#1017C6 #252DED #5E64F2 #979BF7 #CFD1FB

Accessibility & contrast

On white

4.58
#5E64F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5E64F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E64F2
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E64F2#FFFFFF#000000##000000
##5E64F21.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.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: #5e64f2;
/* rgb */ color: rgb(94, 100, 242);
/* oklch */ color: oklch(57.9% 0.209 275.9);
Tailwind
colors: {
  custom: {
    50: '#9a90f7',
    500: '#5e64f2',
    950: '#000000',
  },
}
SCSS
$custom: #5e64f2;
$custom-light: #9a90f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e64f2",
  "rgb": {
    "r": 94,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 237.568,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.57942,
    "c": 0.20887,
    "h": 275.9
  },
  "luminance": 0.17905
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E64F2

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

Preview Lab → · Contrast checker → · Palette generator →

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