#7062BF#7062BF

#7062BF is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.4% C 0.140 H 287.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7062BF
RGBrgb(112, 98, 191)
HSLhsl(249, 42%, 57%)
HSVhsv(249, 49%, 75%)
CMYKcmyk(41.4%, 48.7%, 0%, 25.1%)
CIE-LABlab(46.90, 28.51, -47.16)
CIE-LCHlch(46.90, 55.11, 301.15°)
OKLaboklab(55.37% 0.043 -0.1336)
OKLCHoklch(55.37% 0.14 287.8)
XYZxyz(20.4511, 15.9410, 51.2795)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7062BF #B1BF62
analogous
#6283BF #7062BF #9F62BF
triadic
#7062BF #BF7062 #62BF70
tetradic
#7062BF #BF6283 #B1BF62 #62BF9F
square
#7062BF #BF6283 #B1BF62 #62BF9F
split-complementary
#7062BF #BF9F62 #83BF62
monochromatic
#3B3076 #5042A2 #7062BF #988DD1 #BFB9E2

Accessibility & contrast

On white

5.01
#7062BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7062BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7062BF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7062BF#FFFFFF#000000##FFFFFF
##7062BF1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D71C2
Deuteranopia (green-blind)
#3C6DBD
Tritanopia (blue-blind)
#597587
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7062bf;
/* rgb */ color: rgb(112, 98, 191);
/* oklch */ color: oklch(55.4% 0.140 287.8);
Tailwind
colors: {
  custom: {
    50: '#9d8fd3',
    500: '#7062bf',
    950: '#000000',
  },
}
SCSS
$custom: #7062bf;
$custom-light: #9d8fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7062bf",
  "rgb": {
    "r": 112,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 249.032,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55367,
    "c": 0.14034,
    "h": 287.8
  },
  "luminance": 0.15942
}

Semantic roles & 50–950 ramp

primary
#7062BF
secondary
#CCD1AB
accent
#D256BF
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0F0C14
muted
#7E7D83

Preview Lab

Preview with #7062BF

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

Preview Lab → · Contrast checker → · Palette generator →

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