#7064EB#7064EB

#7064EB is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.7% C 0.197 H 282.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7064EB
RGBrgb(112, 100, 235)
HSLhsl(245, 77%, 66%)
HSVhsv(245, 57%, 92%)
CMYKcmyk(52.3%, 57.4%, 0%, 7.8%)
CIE-LABlab(50.16, 40.34, -66.98)
CIE-LCHlch(50.16, 78.19, 301.06°)
OKLaboklab(58.69% 0.0426 -0.1918)
OKLCHoklch(58.69% 0.197 282.5)
XYZxyz(26.2301, 18.5557, 80.7806)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7064EB #DFEB64
analogous
#649BEB #7064EB #B364EB
triadic
#7064EB #EB7064 #64EB70
tetradic
#7064EB #EB649B #DFEB64 #64EBB3
square
#7064EB #EB649B #DFEB64 #64EBB3
split-complementary
#7064EB #EBB364 #9BEB64
monochromatic
#2718BC #3E2EE4 #7064EB #A29AF2 #D4D0F9

Accessibility & contrast

On white

4.46
#7064EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#7064EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7064EB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7064EB#FFFFFF#000000##000000
##7064EB1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#3C839E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7064eb;
/* rgb */ color: rgb(112, 100, 235);
/* oklch */ color: oklch(58.7% 0.197 282.5);
Tailwind
colors: {
  custom: {
    50: '#a290f2',
    500: '#7064eb',
    950: '#000000',
  },
}
SCSS
$custom: #7064eb;
$custom-light: #a290f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7064eb",
  "rgb": {
    "r": 112,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 245.333,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58692,
    "c": 0.1965,
    "h": 282.5
  },
  "luminance": 0.18557
}

Semantic roles & 50–950 ramp

primary
#7064EB
secondary
#E8ECBF
accent
#D90CC7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7064EB

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

Preview Lab → · Contrast checker → · Palette generator →

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