#7064CA#7064CA

#7064CA is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.4% C 0.153 H 285.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7064CA
RGBrgb(112, 100, 202)
HSLhsl(247, 49%, 59%)
HSVhsv(247, 50%, 79%)
CMYKcmyk(44.6%, 50.5%, 0%, 20.8%)
CIE-LABlab(48.04, 30.50, -51.68)
CIE-LCHlch(48.04, 60.01, 300.55°)
OKLaboklab(56.43% 0.0415 -0.1468)
OKLCHoklch(56.43% 0.153 285.8)
XYZxyz(21.8969, 16.8225, 57.9590)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7064CA #BECA64
analogous
#648BCA #7064CA #A364CA
triadic
#7064CA #CA7064 #64CA70
tetradic
#7064CA #CA648B #BECA64 #64CAA3
square
#7064CA #CA648B #BECA64 #64CAA3
split-complementary
#7064CA #CAA364 #8BCA64
monochromatic
#382E86 #4B3DB3 #7064CA #9A92DA #C4BFE9

Accessibility & contrast

On white

4.81
#7064CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#7064CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7064CA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7064CA#FFFFFF#000000##FFFFFF
##7064CA1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3775CE
Deuteranopia (green-blind)
#346FC8
Tritanopia (blue-blind)
#547A8D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7064ca;
/* rgb */ color: rgb(112, 100, 202);
/* oklch */ color: oklch(56.4% 0.153 285.8);
Tailwind
colors: {
  custom: {
    50: '#9e90db',
    500: '#7064ca',
    950: '#000000',
  },
}
SCSS
$custom: #7064ca;
$custom-light: #9e90db;
$custom-dark: #000000;
JSON
{
  "hex": "#7064ca",
  "rgb": {
    "r": 112,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 247.059,
    "s": 49.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5643,
    "c": 0.1526,
    "h": 285.8
  },
  "luminance": 0.16823
}

Semantic roles & 50–950 ramp

primary
#7064CA
secondary
#D4D9B1
accent
#D94FC8
background
#FAF8FD
surface
#F3F0FB
border
#CDCBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7064CA

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

Preview Lab → · Contrast checker → · Palette generator →

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