#7062DD#7062DD

#7062DD is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.4% C 0.181 H 284.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7062DD
RGBrgb(112, 98, 221)
HSLhsl(247, 64%, 63%)
HSVhsv(247, 56%, 87%)
CMYKcmyk(49.3%, 55.7%, 0%, 13.3%)
CIE-LABlab(48.76, 37.32, -61.35)
CIE-LCHlch(48.76, 71.81, 301.31°)
OKLaboklab(57.35% 0.0447 -0.1753)
OKLCHoklch(57.35% 0.181 284.3)
XYZxyz(24.0970, 17.3994, 70.4813)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7062DD #CFDD62
analogous
#6292DD #7062DD #AD62DD
triadic
#7062DD #DD7062 #62DD70
tetradic
#7062DD #DD6292 #CFDD62 #62DDAD
square
#7062DD #DD6292 #CFDD62 #62DDAD
split-complementary
#7062DD #DDAD62 #92DD62
monochromatic
#3123A2 #4230D2 #7062DD #9E94E8 #CCC7F3

Accessibility & contrast

On white

4.69
#7062DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7062DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7062DD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7062DD#FFFFFF#000000##FFFFFF
##7062DD1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1078E1
Deuteranopia (green-blind)
#0070DA
Tritanopia (blue-blind)
#487E96
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7062dd;
/* rgb */ color: rgb(112, 98, 221);
/* oklch */ color: oklch(57.4% 0.181 284.3);
Tailwind
colors: {
  custom: {
    50: '#a08fe8',
    500: '#7062dd',
    950: '#000000',
  },
}
SCSS
$custom: #7062dd;
$custom-light: #a08fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#7062dd",
  "rgb": {
    "r": 112,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 246.829,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57354,
    "c": 0.18089,
    "h": 284.3
  },
  "luminance": 0.17401
}

Semantic roles & 50–950 ramp

primary
#7062DD
secondary
#DFE4B7
accent
#CC19B8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #7062DD

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

Preview Lab → · Contrast checker → · Palette generator →

#7062DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva