#7078CA#7078CA

#7078CA is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.3% C 0.124 H 277.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7078CA
RGBrgb(112, 120, 202)
HSLhsl(235, 46%, 62%)
HSVhsv(235, 45%, 79%)
CMYKcmyk(44.6%, 40.6%, 0%, 20.8%)
CIE-LABlab(53.10, 18.42, -43.61)
CIE-LCHlch(53.10, 47.34, 292.89°)
OKLaboklab(60.27% 0.0168 -0.1231)
OKLCHoklch(60.27% 0.124 277.8)
XYZxyz(24.0560, 21.1408, 58.6787)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7078CA #CAC270
analogous
#70A5CA #7078CA #9570CA
triadic
#7078CA #CA7078 #78CA70
tetradic
#7078CA #CA70A5 #CAC270 #70CA95
square
#7078CA #CA70A5 #CAC270 #70CA95
split-complementary
#7078CA #CA9570 #A5CA70
monochromatic
#343C8C #444FB8 #7078CA #9DA2DB #C9CCEB

Accessibility & contrast

On white

4.02
#7078CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#7078CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7078CA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7078CA#FFFFFF#000000##000000
##7078CA1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A82CD
Deuteranopia (green-blind)
#537BC8
Tritanopia (blue-blind)
#528997
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7078ca;
/* rgb */ color: rgb(112, 120, 202);
/* oklch */ color: oklch(60.3% 0.124 277.8);
Tailwind
colors: {
  custom: {
    50: '#9d9eda',
    500: '#7078ca',
    950: '#000000',
  },
}
SCSS
$custom: #7078ca;
$custom-light: #9d9eda;
$custom-dark: #000000;
JSON
{
  "hex": "#7078ca",
  "rgb": {
    "r": 112,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 234.667,
    "s": 45.918,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60268,
    "c": 0.12426,
    "h": 277.8
  },
  "luminance": 0.21142
}

Semantic roles & 50–950 ramp

primary
#7078CA
secondary
#DCD9BA
accent
#AD2CB9
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0F0E15
muted
#7E7E83

Preview Lab

Preview with #7078CA

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

Preview Lab → · Contrast checker → · Palette generator →

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