#7C8ABA#7C8ABA

#7C8ABA is a light, moderate blue. Relative luminance 0.260; OKLCH L 64.1% C 0.074 H 271.6°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7C8ABA
RGBrgb(124, 138, 186)
HSLhsl(226, 31%, 61%)
HSVhsv(226, 33%, 73%)
CMYKcmyk(33.3%, 25.8%, 0%, 27.1%)
CIE-LABlab(58.04, 6.51, -26.72)
CIE-LCHlch(58.04, 27.50, 283.68°)
OKLaboklab(64.06% 0.0021 -0.074)
OKLCHoklch(64.06% 0.074 271.6)
XYZxyz(26.2610, 26.0062, 50.0809)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8ABA #BAAC7C
analogous
#7CA9BA #7C8ABA #8D7CBA
triadic
#7C8ABA #BA7C8A #8ABA7C
tetradic
#7C8ABA #BA7CA9 #BAAC7C #7CBA8D
square
#7C8ABA #BA7CA9 #BAAC7C #7CBA8D
split-complementary
#7C8ABA #BA8D7C #A9BA7C
monochromatic
#414E7B #5667A3 #7C8ABA #A4AECF #CCD2E4

Accessibility & contrast

On white

3.39
#7C8ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#7C8ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8ABA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8ABA#FFFFFF#000000##000000
##7C8ABA1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8EBC
Deuteranopia (green-blind)
#7689B9
Tritanopia (blue-blind)
#6B939B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7c8aba;
/* rgb */ color: rgb(124, 138, 186);
/* oklch */ color: oklch(64.1% 0.074 271.6);
Tailwind
colors: {
  custom: {
    50: '#a3accf',
    500: '#7c8aba',
    950: '#000000',
  },
}
SCSS
$custom: #7c8aba;
$custom-light: #a3accf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8aba",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 186
  },
  "hsl": {
    "h": 226.452,
    "s": 31,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64058,
    "c": 0.07408,
    "h": 271.6
  },
  "luminance": 0.26007
}

Semantic roles & 50–950 ramp

primary
#7C8ABA
secondary
#D5CFBD
accent
#913CAA
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #7C8ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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