#7064F2#7064F2

#7064F2 is a mid, highly saturated blue. Relative luminance 0.190; OKLCH L 59.2% C 0.205 H 281.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7064F2
RGBrgb(112, 100, 242)
HSLhsl(245, 85%, 67%)
HSVhsv(245, 59%, 95%)
CMYKcmyk(53.7%, 58.7%, 0%, 5.1%)
CIE-LABlab(50.65, 42.46, -70.11)
CIE-LCHlch(50.65, 81.96, 301.20°)
OKLaboklab(59.21% 0.0424 -0.201)
OKLCHoklch(59.21% 0.205 281.9)
XYZxyz(27.2613, 18.9682, 86.2119)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7064F2 #E6F264
analogous
#649FF2 #7064F2 #B764F2
triadic
#7064F2 #F27064 #64F270
tetradic
#7064F2 #F2649F #E6F264 #64F2B7
square
#7064F2 #F2649F #E6F264 #64F2B7
split-complementary
#7064F2 #F2B764 #9FF264
monochromatic
#2111CB #3C2CED #7064F2 #A49CF7 #D8D5FB

Accessibility & contrast

On white

4.38
#7064F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7064F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7064F2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7064F2#FFFFFF#000000##000000
##7064F21.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#0074EF
Tritanopia (blue-blind)
#3486A1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7064f2;
/* rgb */ color: rgb(112, 100, 242);
/* oklch */ color: oklch(59.2% 0.205 281.9);
Tailwind
colors: {
  custom: {
    50: '#a391f7',
    500: '#7064f2',
    950: '#000000',
  },
}
SCSS
$custom: #7064f2;
$custom-light: #a391f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7064f2",
  "rgb": {
    "r": 112,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 245.07,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59205,
    "c": 0.20547,
    "h": 281.9
  },
  "luminance": 0.1897
}

Semantic roles & 50–950 ramp

primary
#7064F2
secondary
#ECEFC2
accent
#E105CE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7064F2

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

Preview Lab → · Contrast checker → · Palette generator →

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