#7064D5#7064D5

#7064D5 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.2% C 0.168 H 284.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7064D5
RGBrgb(112, 100, 213)
HSLhsl(246, 57%, 61%)
HSVhsv(246, 53%, 84%)
CMYKcmyk(47.4%, 53.1%, 0%, 16.5%)
CIE-LABlab(48.71, 33.75, -56.88)
CIE-LCHlch(48.71, 66.14, 300.68°)
OKLaboklab(57.15% 0.0422 -0.1621)
OKLCHoklch(57.15% 0.168 284.6)
XYZxyz(23.2460, 17.3621, 65.0642)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7064D5 #C9D564
analogous
#6491D5 #7064D5 #A964D5
triadic
#7064D5 #D57064 #64D570
tetradic
#7064D5 #D56491 #C9D564 #64D5A9
square
#7064D5 #D56491 #C9D564 #64D5A9
split-complementary
#7064D5 #D5A964 #91D564
monochromatic
#342996 #4536C6 #7064D5 #9C94E2 #C9C4EF

Accessibility & contrast

On white

4.70
#7064D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7064D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7064D5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7064D5#FFFFFF#000000##FFFFFF
##7064D51.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2977D9
Deuteranopia (green-blind)
#2470D3
Tritanopia (blue-blind)
#4D7D93
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7064d5;
/* rgb */ color: rgb(112, 100, 213);
/* oklch */ color: oklch(57.2% 0.168 284.6);
Tailwind
colors: {
  custom: {
    50: '#9f90e3',
    500: '#7064d5',
    950: '#000000',
  },
}
SCSS
$custom: #7064d5;
$custom-light: #9f90e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7064d5",
  "rgb": {
    "r": 112,
    "g": 100,
    "b": 213
  },
  "hsl": {
    "h": 246.372,
    "s": 57.36,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57154,
    "c": 0.16753,
    "h": 284.6
  },
  "luminance": 0.17363
}

Semantic roles & 50–950 ramp

primary
#7064D5
secondary
#DBE0B5
accent
#C521B3
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7064D5

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

Preview Lab → · Contrast checker → · Palette generator →

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