#4E64CD#4E64CD

#4E64CD is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.2% C 0.164 H 271.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4E64CD
RGBrgb(78, 100, 205)
HSLhsl(230, 56%, 55%)
HSVhsv(230, 62%, 80%)
CMYKcmyk(62%, 51.2%, 0%, 19.6%)
CIE-LABlab(45.83, 24.39, -57.08)
CIE-LCHlch(45.83, 62.08, 293.14°)
OKLaboklab(54.22% 0.0031 -0.1636)
OKLCHoklch(54.22% 0.164 271.1)
XYZxyz(18.7148, 15.1402, 59.6819)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E64CD #CDB74E
analogous
#4EA4CD #4E64CD #774ECD
triadic
#4E64CD #CD4E64 #64CD4E
tetradic
#4E64CD #CD4EA4 #CDB74E #4ECD77
square
#4E64CD #CD4EA4 #CDB74E #4ECD77
split-complementary
#4E64CD #CD774E #A4CD4E
monochromatic
#23337D #3146AD #4E64CD #7E8EDA #ADB8E8

Accessibility & contrast

On white

5.21
#4E64CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4E64CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E64CD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E64CD#FFFFFF#000000##FFFFFF
##4E64CD1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2772D1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e64cd;
/* rgb */ color: rgb(78, 100, 205);
/* oklch */ color: oklch(54.2% 0.164 271.1);
Tailwind
colors: {
  custom: {
    50: '#8b8fdd',
    500: '#4e64cd',
    950: '#000000',
  },
}
SCSS
$custom: #4e64cd;
$custom-light: #8b8fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e64cd",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 229.606,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54216,
    "c": 0.16362,
    "h": 271.1
  },
  "luminance": 0.15142
}

Semantic roles & 50–950 ramp

primary
#4E64CD
secondary
#D6CDA1
accent
#C549DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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