#7B8FC6#7B8FC6

#7B8FC6 is a light, moderate blue. Relative luminance 0.279; OKLCH L 65.6% C 0.086 H 268.6°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7B8FC6
RGBrgb(123, 143, 198)
HSLhsl(224, 40%, 63%)
HSVhsv(224, 38%, 78%)
CMYKcmyk(37.9%, 27.8%, 0%, 22.4%)
CIE-LABlab(59.83, 6.57, -30.76)
CIE-LCHlch(59.83, 31.45, 282.05°)
OKLaboklab(65.59% -0.0021 -0.0856)
OKLCHoklch(65.59% 0.086 268.6)
XYZxyz(28.1808, 27.9318, 57.3216)
Luminance0.2793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8FC6 #C6B27B
analogous
#7BB4C6 #7B8FC6 #8C7BC6
triadic
#7B8FC6 #C67B8F #8FC67B
tetradic
#7B8FC6 #C67BB4 #C6B27B #7BC68C
square
#7B8FC6 #C67BB4 #C6B27B #7BC68C
split-complementary
#7B8FC6 #C68C7B #B4C67B
monochromatic
#3C518B #506BB4 #7B8FC6 #A6B3D8 #D0D8EB

Accessibility & contrast

On white

3.19
#7B8FC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#7B8FC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8FC6
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8FC6#FFFFFF#000000##000000
##7B8FC61.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D94C8
Deuteranopia (green-blind)
#768DC5
Tritanopia (blue-blind)
#649AA2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7b8fc6;
/* rgb */ color: rgb(123, 143, 198);
/* oklch */ color: oklch(65.6% 0.086 268.6);
Tailwind
colors: {
  custom: {
    50: '#a3afd7',
    500: '#7b8fc6',
    950: '#000000',
  },
}
SCSS
$custom: #7b8fc6;
$custom-light: #a3afd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8fc6",
  "rgb": {
    "r": 123,
    "g": 143,
    "b": 198
  },
  "hsl": {
    "h": 224,
    "s": 39.683,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65592,
    "c": 0.08563,
    "h": 268.6
  },
  "luminance": 0.27933
}

Semantic roles & 50–950 ramp

primary
#7B8FC6
secondary
#DCD5C1
accent
#9133B3
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #7B8FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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