#7C8BB2#7C8BB2

#7C8BB2 is a light, moderate blue. Relative luminance 0.260; OKLCH L 63.9% C 0.061 H 268.3°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7C8BB2
RGBrgb(124, 139, 178)
HSLhsl(223, 26%, 59%)
HSVhsv(223, 30%, 70%)
CMYKcmyk(30.3%, 21.9%, 0%, 30.2%)
CIE-LABlab(58.00, 3.83, -22.23)
CIE-LCHlch(58.00, 22.56, 279.78°)
OKLaboklab(63.92% -0.0018 -0.0613)
OKLCHoklch(63.92% 0.061 268.3)
XYZxyz(25.5784, 25.9638, 45.7747)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8BB2 #B2A37C
analogous
#7CA6B2 #7C8BB2 #887CB2
triadic
#7C8BB2 #B27C8B #8BB27C
tetradic
#7C8BB2 #B27CA6 #B2A37C #7CB288
square
#7C8BB2 #B27CA6 #B2A37C #7CB288
split-complementary
#7C8BB2 #B2887C #A6B27C
monochromatic
#424F71 #596B98 #7C8BB2 #A3ADC9 #C9CFDF

Accessibility & contrast

On white

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

On black

6.19
#7C8BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8BB2
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8BB2#FFFFFF#000000##000000
##7C8BB21.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8EB4
Deuteranopia (green-blind)
#7A89B1
Tritanopia (blue-blind)
#6D9398
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7c8bb2;
/* rgb */ color: rgb(124, 139, 178);
/* oklch */ color: oklch(63.9% 0.061 268.3);
Tailwind
colors: {
  custom: {
    50: '#a3acc9',
    500: '#7c8bb2',
    950: '#000000',
  },
}
SCSS
$custom: #7c8bb2;
$custom-light: #a3acc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8bb2",
  "rgb": {
    "r": 124,
    "g": 139,
    "b": 178
  },
  "hsl": {
    "h": 223.333,
    "s": 25.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63923,
    "c": 0.06132,
    "h": 268.3
  },
  "luminance": 0.25965
}

Semantic roles & 50–950 ramp

primary
#7C8BB2
secondary
#CFCABA
accent
#A965C2
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #7C8BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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