#7C8EA8#7C8EA8

#7C8EA8 is a light, muted blue. Relative luminance 0.265; OKLCH L 64.2% C 0.044 H 257.5°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7C8EA8
RGBrgb(124, 142, 168)
HSLhsl(215, 20%, 57%)
HSVhsv(215, 26%, 66%)
CMYKcmyk(26.2%, 15.5%, 0%, 34.1%)
CIE-LABlab(58.47, -0.41, -15.82)
CIE-LCHlch(58.47, 15.83, 268.52°)
OKLaboklab(64.17% -0.0096 -0.0433)
OKLCHoklch(64.17% 0.044 257.5)
XYZxyz(25.0511, 26.4574, 40.8251)
Luminance0.2646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8EA8 #A8967C
analogous
#7CA4A8 #7C8EA8 #807CA8
triadic
#7C8EA8 #A87C8E #8EA87C
tetradic
#7C8EA8 #A87CA4 #A8967C #7CA880
square
#7C8EA8 #A87CA4 #A8967C #7CA880
split-complementary
#7C8EA8 #A8807C #A4A87C
monochromatic
#445266 #5C6F8B #7C8EA8 #A1AEC0 #C6CDD9

Accessibility & contrast

On white

3.34
#7C8EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#7C8EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8EA8
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8EA8#FFFFFF#000000##000000
##7C8EA81.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#858FA9
Deuteranopia (green-blind)
#808BA7
Tritanopia (blue-blind)
#709396
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7c8ea8;
/* rgb */ color: rgb(124, 142, 168);
/* oklch */ color: oklch(64.2% 0.044 257.5);
Tailwind
colors: {
  custom: {
    50: '#a2afc1',
    500: '#7c8ea8',
    950: '#000000',
  },
}
SCSS
$custom: #7c8ea8;
$custom-light: #a2afc1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8ea8",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 168
  },
  "hsl": {
    "h": 215.455,
    "s": 20.183,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64167,
    "c": 0.04433,
    "h": 257.5
  },
  "luminance": 0.26458
}

Semantic roles & 50–950 ramp

primary
#7C8EA8
secondary
#C9C2B7
accent
#9B6BBD
background
#FAFAFB
surface
#F3F4F7
border
#CDCED0
text
#0F1012
muted
#7F7F81

Preview Lab

Preview with #7C8EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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