#7C8CB2#7C8CB2

#7C8CB2 is a light, moderate blue. Relative luminance 0.263; OKLCH L 64.1% C 0.060 H 266.9°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7C8CB2
RGBrgb(124, 140, 178)
HSLhsl(222, 26%, 59%)
HSVhsv(222, 30%, 70%)
CMYKcmyk(30.3%, 21.3%, 0%, 30.2%)
CIE-LABlab(58.28, 3.26, -21.81)
CIE-LCHlch(58.28, 22.05, 278.50°)
OKLaboklab(64.14% -0.0032 -0.0601)
OKLCHoklch(64.14% 0.06 266.9)
XYZxyz(25.7239, 26.2547, 45.8232)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8CB2 #B2A27C
analogous
#7CA7B2 #7C8CB2 #877CB2
triadic
#7C8CB2 #B27C8C #8CB27C
tetradic
#7C8CB2 #B27CA7 #B2A27C #7CB287
square
#7C8CB2 #B27CA7 #B2A27C #7CB287
split-complementary
#7C8CB2 #B2877C #A7B27C
monochromatic
#425071 #596C98 #7C8CB2 #A3AEC9 #C9D0DF

Accessibility & contrast

On white

3.36
#7C8CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#7C8CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8CB2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8CB2#FFFFFF#000000##000000
##7C8CB21.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#808FB4
Deuteranopia (green-blind)
#7B8AB1
Tritanopia (blue-blind)
#6D9499
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7c8cb2;
/* rgb */ color: rgb(124, 140, 178);
/* oklch */ color: oklch(64.1% 0.060 266.9);
Tailwind
colors: {
  custom: {
    50: '#a3adc9',
    500: '#7c8cb2',
    950: '#000000',
  },
}
SCSS
$custom: #7c8cb2;
$custom-light: #a3adc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8cb2",
  "rgb": {
    "r": 124,
    "g": 140,
    "b": 178
  },
  "hsl": {
    "h": 222.222,
    "s": 25.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64138,
    "c": 0.06019,
    "h": 266.9
  },
  "luminance": 0.26256
}

Semantic roles & 50–950 ramp

primary
#7C8CB2
secondary
#CFC9BA
accent
#A765C2
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #7C8CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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