#5E64CD#5E64CD

#5E64CD is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.2% C 0.160 H 277.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5E64CD
RGBrgb(94, 100, 205)
HSLhsl(237, 53%, 59%)
HSVhsv(237, 54%, 80%)
CMYKcmyk(54.1%, 51.2%, 0%, 19.6%)
CIE-LABlab(46.84, 27.45, -55.39)
CIE-LCHlch(46.84, 61.82, 296.36°)
OKLaboklab(55.25% 0.0204 -0.1582)
OKLCHoklch(55.25% 0.16 277.4)
XYZxyz(20.1892, 15.9005, 59.7510)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E64CD #CDC75E
analogous
#5E9BCD #5E64CD #8F5ECD
triadic
#5E64CD #CD5E64 #64CD5E
tetradic
#5E64CD #CD5E9B #CDC75E #5ECD8F
square
#5E64CD #CD5E9B #CDC75E #5ECD8F
split-complementary
#5E64CD #CD8F5E #9BCD5E
monochromatic
#2A2F87 #383FB5 #5E64CD #8D91DC #BBBEEA

Accessibility & contrast

On white

5.02
#5E64CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5E64CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E64CD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E64CD#FFFFFF#000000##FFFFFF
##5E64CD1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D1
Deuteranopia (green-blind)
#1C6BCB
Tritanopia (blue-blind)
#287C8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5e64cd;
/* rgb */ color: rgb(94, 100, 205);
/* oklch */ color: oklch(55.2% 0.160 277.4);
Tailwind
colors: {
  custom: {
    50: '#9490dd',
    500: '#5e64cd',
    950: '#000000',
  },
}
SCSS
$custom: #5e64cd;
$custom-light: #9490dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e64cd",
  "rgb": {
    "r": 94,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 236.757,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55249,
    "c": 0.15953,
    "h": 277.4
  },
  "luminance": 0.15902
}

Semantic roles & 50–950 ramp

primary
#5E64CD
secondary
#D9D7AD
accent
#D44CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5E64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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