#7062CD#7062CD

#7062CD is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.3% C 0.160 H 286.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7062CD
RGBrgb(112, 98, 205)
HSLhsl(248, 52%, 59%)
HSVhsv(248, 52%, 80%)
CMYKcmyk(45.4%, 52.2%, 0%, 19.6%)
CIE-LABlab(47.74, 32.58, -53.88)
CIE-LCHlch(47.74, 62.97, 301.16°)
OKLaboklab(56.27% 0.0441 -0.1533)
OKLCHoklch(56.27% 0.16 286)
XYZxyz(22.0660, 16.5870, 59.7847)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7062CD #BFCD62
analogous
#628ACD #7062CD #A562CD
triadic
#7062CD #CD7062 #62CD70
tetradic
#7062CD #CD628A #BFCD62 #62CDA5
square
#7062CD #CD628A #BFCD62 #62CDA5
split-complementary
#7062CD #CDA562 #8ACD62
monochromatic
#382C89 #4B3AB7 #7062CD #9A90DC #C5BFEB

Accessibility & contrast

On white

4.86
#7062CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7062CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7062CD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7062CD#FFFFFF#000000##FFFFFF
##7062CD1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F74D1
Deuteranopia (green-blind)
#2C6ECB
Tritanopia (blue-blind)
#52798E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7062cd;
/* rgb */ color: rgb(112, 98, 205);
/* oklch */ color: oklch(56.3% 0.160 286.0);
Tailwind
colors: {
  custom: {
    50: '#9f8fdd',
    500: '#7062cd',
    950: '#000000',
  },
}
SCSS
$custom: #7062cd;
$custom-light: #9f8fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7062cd",
  "rgb": {
    "r": 112,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 247.85,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56265,
    "c": 0.15955,
    "h": 286
  },
  "luminance": 0.16588
}

Semantic roles & 50–950 ramp

primary
#7062CD
secondary
#D5DAB1
accent
#DB4DC9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7062CD

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

Preview Lab → · Contrast checker → · Palette generator →

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