#7C78BA#7C78BA

#7C78BA is a mid, moderate blue. Relative luminance 0.213; OKLCH L 60.3% C 0.099 H 285.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7C78BA
RGBrgb(124, 120, 186)
HSLhsl(244, 32%, 60%)
HSVhsv(244, 35%, 73%)
CMYKcmyk(33.3%, 35.5%, 0%, 27.1%)
CIE-LABlab(53.24, 17.11, -34.20)
CIE-LCHlch(53.24, 38.24, 296.59°)
OKLaboklab(60.34% 0.027 -0.0955)
OKLCHoklch(60.34% 0.099 285.8)
XYZxyz(23.8892, 21.2625, 49.2903)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C78BA #B6BA78
analogous
#7895BA #7C78BA #9D78BA
triadic
#7C78BA #BA7C78 #78BA7C
tetradic
#7C78BA #BA7895 #B6BA78 #78BA9D
square
#7C78BA #BA7895 #B6BA78 #78BA9D
split-complementary
#7C78BA #BA9D78 #95BA78
monochromatic
#423E7A #5853A2 #7C78BA #A3A0CF #CBC9E3

Accessibility & contrast

On white

4.00
#7C78BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#7C78BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C78BA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C78BA#FFFFFF#000000##000000
##7C78BA1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6481BD
Deuteranopia (green-blind)
#637DB8
Tritanopia (blue-blind)
#6C8490
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7c78ba;
/* rgb */ color: rgb(124, 120, 186);
/* oklch */ color: oklch(60.3% 0.099 285.8);
Tailwind
colors: {
  custom: {
    50: '#a49fcf',
    500: '#7c78ba',
    950: '#000000',
  },
}
SCSS
$custom: #7c78ba;
$custom-light: #a49fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c78ba",
  "rgb": {
    "r": 124,
    "g": 120,
    "b": 186
  },
  "hsl": {
    "h": 243.636,
    "s": 32.353,
    "l": 60
  },
  "oklch": {
    "l": 0.60343,
    "c": 0.09923,
    "h": 285.8
  },
  "luminance": 0.21263
}

Semantic roles & 50–950 ramp

primary
#7C78BA
secondary
#D2D4BA
accent
#C95FC2
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7C78BA

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

Preview Lab → · Contrast checker → · Palette generator →

#7C78BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva