#7078CD#7078CD

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

Color values

HEX#7078CD
RGBrgb(112, 120, 205)
HSLhsl(235, 48%, 62%)
HSVhsv(235, 45%, 80%)
CMYKcmyk(45.4%, 41.5%, 0%, 19.6%)
CIE-LABlab(53.26, 19.31, -45.07)
CIE-LCHlch(53.26, 49.03, 293.19°)
OKLaboklab(60.44% 0.0173 -0.1274)
OKLCHoklch(60.44% 0.129 277.7)
XYZxyz(24.4147, 21.2842, 60.5676)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7078CD #CDC570
analogous
#70A6CD #7078CD #9770CD
triadic
#7078CD #CD7078 #78CD70
tetradic
#7078CD #CD70A6 #CDC570 #70CD97
square
#7078CD #CD70A6 #CDC570 #70CD97
split-complementary
#7078CD #CD9770 #A6CD70
monochromatic
#323A90 #434DBD #7078CD #9DA3DD #CBCEED

Accessibility & contrast

On white

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

On black

5.26
#7078CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7078CD
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7078CD#FFFFFF#000000##000000
##7078CD1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5883D0
Deuteranopia (green-blind)
#517CCB
Tritanopia (blue-blind)
#508A98
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7078cd;
/* rgb */ color: rgb(112, 120, 205);
/* oklch */ color: oklch(60.4% 0.129 277.7);
Tailwind
colors: {
  custom: {
    50: '#9e9edd',
    500: '#7078cd',
    950: '#000000',
  },
}
SCSS
$custom: #7078cd;
$custom-light: #9e9edd;
$custom-dark: #000000;
JSON
{
  "hex": "#7078cd",
  "rgb": {
    "r": 112,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 234.839,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60438,
    "c": 0.12855,
    "h": 277.7
  },
  "luminance": 0.21285
}

Semantic roles & 50–950 ramp

primary
#7078CD
secondary
#DDDBBB
accent
#AF2ABB
background
#FAF9FD
surface
#F3F2FB
border
#CDCCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7078CD

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

Preview Lab → · Contrast checker → · Palette generator →

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