#7078CE#7078CE

#7078CE is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.5% C 0.130 H 277.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7078CE
RGBrgb(112, 120, 206)
HSLhsl(235, 49%, 62%)
HSVhsv(235, 46%, 81%)
CMYKcmyk(45.6%, 41.7%, 0%, 19.2%)
CIE-LABlab(53.31, 19.61, -45.56)
CIE-LCHlch(53.31, 49.60, 293.29°)
OKLaboklab(60.5% 0.0175 -0.1288)
OKLCHoklch(60.5% 0.13 277.7)
XYZxyz(24.5357, 21.3327, 61.2053)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7078CE #CEC670
analogous
#70A7CE #7078CE #9770CE
triadic
#7078CE #CE7078 #78CE70
tetradic
#7078CE #CE70A7 #CEC670 #70CE97
square
#7078CE #CE70A7 #CEC670 #70CE97
split-complementary
#7078CE #CE9770 #A7CE70
monochromatic
#323A92 #424DBE #7078CE #9EA3DE #CBCEED

Accessibility & contrast

On white

3.99
#7078CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#7078CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7078CE
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7078CE#FFFFFF#000000##000000
##7078CE1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5783D1
Deuteranopia (green-blind)
#507CCC
Tritanopia (blue-blind)
#4F8A99
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7078ce;
/* rgb */ color: rgb(112, 120, 206);
/* oklch */ color: oklch(60.5% 0.130 277.7);
Tailwind
colors: {
  custom: {
    50: '#9e9edd',
    500: '#7078ce',
    950: '#000000',
  },
}
SCSS
$custom: #7078ce;
$custom-light: #9e9edd;
$custom-dark: #000000;
JSON
{
  "hex": "#7078ce",
  "rgb": {
    "r": 112,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 234.894,
    "s": 48.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60496,
    "c": 0.12998,
    "h": 277.7
  },
  "luminance": 0.21334
}

Semantic roles & 50–950 ramp

primary
#7078CE
secondary
#DEDBBC
accent
#B029BC
background
#FAF9FD
surface
#F3F2FB
border
#CDCCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7078CE

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

Preview Lab → · Contrast checker → · Palette generator →

#7078CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva