#7064CE#7064CE

#7064CE is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.7% C 0.158 H 285.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7064CE
RGBrgb(112, 100, 206)
HSLhsl(247, 52%, 60%)
HSVhsv(247, 51%, 81%)
CMYKcmyk(45.6%, 51.5%, 0%, 19.2%)
CIE-LABlab(48.28, 31.68, -53.59)
CIE-LCHlch(48.28, 62.25, 300.59°)
OKLaboklab(56.69% 0.0418 -0.1524)
OKLCHoklch(56.69% 0.158 285.3)
XYZxyz(22.3766, 17.0143, 60.4856)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7064CE #C2CE64
analogous
#648DCE #7064CE #A564CE
triadic
#7064CE #CE7064 #64CE70
tetradic
#7064CE #CE648D #C2CE64 #64CEA5
square
#7064CE #CE648D #C2CE64 #64CEA5
split-complementary
#7064CE #CEA564 #8DCE64
monochromatic
#372C8C #493BBA #7064CE #9B92DD #C6C1EB

Accessibility & contrast

On white

4.77
#7064CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7064CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7064CE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7064CE#FFFFFF#000000##FFFFFF
##7064CE1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3276D2
Deuteranopia (green-blind)
#2F6FCC
Tritanopia (blue-blind)
#517B8F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7064ce;
/* rgb */ color: rgb(112, 100, 206);
/* oklch */ color: oklch(56.7% 0.158 285.3);
Tailwind
colors: {
  custom: {
    50: '#9f90dd',
    500: '#7064ce',
    950: '#000000',
  },
}
SCSS
$custom: #7064ce;
$custom-light: #9f90dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7064ce",
  "rgb": {
    "r": 112,
    "g": 100,
    "b": 206
  },
  "hsl": {
    "h": 246.792,
    "s": 51.961,
    "l": 60
  },
  "oklch": {
    "l": 0.5669,
    "c": 0.15807,
    "h": 285.3
  },
  "luminance": 0.17015
}

Semantic roles & 50–950 ramp

primary
#7064CE
secondary
#D7DBB2
accent
#DB4CCB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7064CE

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

Preview Lab → · Contrast checker → · Palette generator →

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