#7C81BB#7C81BB

#7C81BB is a light, moderate blue. Relative luminance 0.236; OKLCH L 62.2% C 0.088 H 279.7°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7C81BB
RGBrgb(124, 129, 187)
HSLhsl(235, 32%, 61%)
HSVhsv(235, 34%, 73%)
CMYKcmyk(33.7%, 31%, 0%, 26.7%)
CIE-LABlab(55.66, 12.04, -30.99)
CIE-LCHlch(55.66, 33.25, 291.24°)
OKLaboklab(62.22% 0.0148 -0.0863)
OKLCHoklch(62.22% 0.088 279.7)
XYZxyz(25.1296, 23.5726, 50.2300)
Luminance0.2357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C81BB #BBB67C
analogous
#7CA0BB #7C81BB #967CBB
triadic
#7C81BB #BB7C81 #81BB7C
tetradic
#7C81BB #BB7CA0 #BBB67C #7CBB96
square
#7C81BB #BB7CA0 #BBB67C #7CBB96
split-complementary
#7C81BB #BB967C #A0BB7C
monochromatic
#40457C #555CA4 #7C81BB #A4A8D0 #CDCEE5

Accessibility & contrast

On white

3.67
#7C81BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#7C81BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C81BB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C81BB#FFFFFF#000000##000000
##7C81BB1.003.675.715.71
#FFFFFF3.671.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F88BD
Deuteranopia (green-blind)
#6C83BA
Tritanopia (blue-blind)
#6B8C96
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c81bb;
/* rgb */ color: rgb(124, 129, 187);
/* oklch */ color: oklch(62.2% 0.088 279.7);
Tailwind
colors: {
  custom: {
    50: '#a4a5cf',
    500: '#7c81bb',
    950: '#000000',
  },
}
SCSS
$custom: #7c81bb;
$custom-light: #a4a5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c81bb",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 187
  },
  "hsl": {
    "h": 235.238,
    "s": 31.658,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62222,
    "c": 0.08752,
    "h": 279.7
  },
  "luminance": 0.23573
}

Semantic roles & 50–950 ramp

primary
#7C81BB
secondary
#D5D3BE
accent
#A23BAA
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F0F14
muted
#7F7F82

Preview Lab

Preview with #7C81BB

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

Preview Lab → · Contrast checker → · Palette generator →

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