#7066EB#7066EB

#7066EB is a mid, vivid blue. Relative luminance 0.189; OKLCH L 59.0% C 0.194 H 282.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7066EB
RGBrgb(112, 102, 235)
HSLhsl(245, 77%, 66%)
HSVhsv(245, 57%, 92%)
CMYKcmyk(52.3%, 56.6%, 0%, 7.8%)
CIE-LABlab(50.62, 39.17, -66.24)
CIE-LCHlch(50.62, 76.95, 300.60°)
OKLaboklab(59.03% 0.0405 -0.1896)
OKLCHoklch(59.03% 0.194 282.1)
XYZxyz(26.4243, 18.9441, 80.8454)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7066EB #E1EB66
analogous
#669EEB #7066EB #B266EB
triadic
#7066EB #EB7066 #66EB70
tetradic
#7066EB #EB669E #E1EB66 #66EBB2
square
#7066EB #EB669E #E1EB66 #66EBB2
split-complementary
#7066EB #EBB266 #9EEB66
monochromatic
#2519BE #3D30E4 #7066EB #A39CF2 #D5D2F9

Accessibility & contrast

On white

4.38
#7066EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7066EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7066EB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7066EB#FFFFFF#000000##000000
##7066EB1.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)
#007DEF
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#3C859F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7066eb;
/* rgb */ color: rgb(112, 102, 235);
/* oklch */ color: oklch(59.0% 0.194 282.1);
Tailwind
colors: {
  custom: {
    50: '#a292f2',
    500: '#7066eb',
    950: '#000000',
  },
}
SCSS
$custom: #7066eb;
$custom-light: #a292f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7066eb",
  "rgb": {
    "r": 112,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 244.511,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59031,
    "c": 0.19392,
    "h": 282.1
  },
  "luminance": 0.18946
}

Semantic roles & 50–950 ramp

primary
#7066EB
secondary
#E9ECC1
accent
#D90CCA
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7066EB

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

Preview Lab → · Contrast checker → · Palette generator →

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