#7064CD#7064CD

#7064CD is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.6% C 0.157 H 285.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7064CD
RGBrgb(112, 100, 205)
HSLhsl(247, 51%, 60%)
HSVhsv(247, 51%, 80%)
CMYKcmyk(45.4%, 51.2%, 0%, 19.6%)
CIE-LABlab(48.22, 31.38, -53.11)
CIE-LCHlch(48.22, 61.69, 300.58°)
OKLaboklab(56.63% 0.0417 -0.151)
OKLCHoklch(56.63% 0.157 285.4)
XYZxyz(22.2555, 16.9659, 59.8479)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7064CD #C1CD64
analogous
#648DCD #7064CD #A564CD
triadic
#7064CD #CD7064 #64CD70
tetradic
#7064CD #CD648D #C1CD64 #64CDA5
square
#7064CD #CD648D #C1CD64 #64CDA5
split-complementary
#7064CD #CDA564 #8DCD64
monochromatic
#372D8A #4A3BB8 #7064CD #9B92DC #C5C1EB

Accessibility & contrast

On white

4.78
#7064CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7064CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7064CD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7064CD#FFFFFF#000000##FFFFFF
##7064CD1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3475D1
Deuteranopia (green-blind)
#306FCB
Tritanopia (blue-blind)
#527A8F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7064cd;
/* rgb */ color: rgb(112, 100, 205);
/* oklch */ color: oklch(56.6% 0.157 285.4);
Tailwind
colors: {
  custom: {
    50: '#9e90dd',
    500: '#7064cd',
    950: '#000000',
  },
}
SCSS
$custom: #7064cd;
$custom-light: #9e90dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7064cd",
  "rgb": {
    "r": 112,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 246.857,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56625,
    "c": 0.15671,
    "h": 285.4
  },
  "luminance": 0.16967
}

Semantic roles & 50–950 ramp

primary
#7064CD
secondary
#D6DBB2
accent
#DB4DCB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7064CD

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

Preview Lab → · Contrast checker → · Palette generator →

#7064CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva