#7C8ABC#7C8ABC

#7C8ABC is a light, moderate blue. Relative luminance 0.261; OKLCH L 64.1% C 0.077 H 272.0°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7C8ABC
RGBrgb(124, 138, 188)
HSLhsl(227, 32%, 61%)
HSVhsv(227, 34%, 74%)
CMYKcmyk(34%, 26.6%, 0%, 26.3%)
CIE-LABlab(58.12, 7.04, -27.73)
CIE-LCHlch(58.12, 28.61, 284.24°)
OKLaboklab(64.15% 0.0027 -0.0769)
OKLCHoklch(64.15% 0.077 272)
XYZxyz(26.4751, 26.0919, 51.2085)
Luminance0.2609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8ABC #BCAE7C
analogous
#7CAABC #7C8ABC #8E7CBC
triadic
#7C8ABC #BC7C8A #8ABC7C
tetradic
#7C8ABC #BC7CAA #BCAE7C #7CBC8E
square
#7C8ABC #BC7CAA #BCAE7C #7CBC8E
split-complementary
#7C8ABC #BC8E7C #AABC7C
monochromatic
#404E7D #5567A6 #7C8ABC #A4AED1 #CDD2E5

Accessibility & contrast

On white

3.38
#7C8ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#7C8ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8ABC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8ABC#FFFFFF#000000##000000
##7C8ABC1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8FBE
Deuteranopia (green-blind)
#7589BB
Tritanopia (blue-blind)
#6A949B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7c8abc;
/* rgb */ color: rgb(124, 138, 188);
/* oklch */ color: oklch(64.1% 0.077 272.0);
Tailwind
colors: {
  custom: {
    50: '#a3acd0',
    500: '#7c8abc',
    950: '#000000',
  },
}
SCSS
$custom: #7c8abc;
$custom-light: #a3acd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8abc",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 188
  },
  "hsl": {
    "h": 226.875,
    "s": 32.323,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64148,
    "c": 0.07698,
    "h": 272
  },
  "luminance": 0.26093
}

Semantic roles & 50–950 ramp

primary
#7C8ABC
secondary
#D6D1BE
accent
#923AAB
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #7C8ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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