#7C8ABE#7C8ABE

#7C8ABE is a light, moderate blue. Relative luminance 0.262; OKLCH L 64.2% C 0.080 H 272.4°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7C8ABE
RGBrgb(124, 138, 190)
HSLhsl(227, 34%, 62%)
HSVhsv(227, 35%, 75%)
CMYKcmyk(34.7%, 27.4%, 0%, 25.5%)
CIE-LABlab(58.21, 7.58, -28.74)
CIE-LCHlch(58.21, 29.72, 284.77°)
OKLaboklab(64.24% 0.0033 -0.0798)
OKLCHoklch(64.24% 0.08 272.4)
XYZxyz(26.6922, 26.1787, 52.3518)
Luminance0.2618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8ABE #BEB07C
analogous
#7CABBE #7C8ABE #8F7CBE
triadic
#7C8ABE #BE7C8A #8ABE7C
tetradic
#7C8ABE #BE7CAB #BEB07C #7CBE8F
square
#7C8ABE #BE7CAB #BEB07C #7CBE8F
split-complementary
#7C8ABE #BE8F7C #ABBE7C
monochromatic
#404D80 #5466A9 #7C8ABE #A5AFD2 #CED3E7

Accessibility & contrast

On white

3.37
#7C8ABE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#7C8ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8ABE
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8ABE#FFFFFF#000000##000000
##7C8ABE1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#798FC0
Deuteranopia (green-blind)
#7489BD
Tritanopia (blue-blind)
#69949C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7c8abe;
/* rgb */ color: rgb(124, 138, 190);
/* oklch */ color: oklch(64.2% 0.080 272.4);
Tailwind
colors: {
  custom: {
    50: '#a4acd1',
    500: '#7c8abe',
    950: '#000000',
  },
}
SCSS
$custom: #7c8abe;
$custom-light: #a4acd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8abe",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 190
  },
  "hsl": {
    "h": 227.273,
    "s": 33.673,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64239,
    "c": 0.07989,
    "h": 272.4
  },
  "luminance": 0.2618
}

Semantic roles & 50–950 ramp

primary
#7C8ABE
secondary
#D7D2BF
accent
#9439AC
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #7C8ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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