#7D8BC2#7D8BC2

#7D8BC2 is a light, moderate blue. Relative luminance 0.267; OKLCH L 64.7% C 0.084 H 272.9°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7D8BC2
RGBrgb(125, 139, 194)
HSLhsl(228, 36%, 63%)
HSVhsv(228, 36%, 76%)
CMYKcmyk(35.6%, 28.4%, 0%, 23.9%)
CIE-LABlab(58.71, 8.36, -30.21)
CIE-LCHlch(58.71, 31.35, 285.46°)
OKLaboklab(64.71% 0.0042 -0.084)
OKLCHoklch(64.71% 0.084 272.9)
XYZxyz(27.4248, 26.7192, 54.7408)
Luminance0.2672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8BC2 #C2B47D
analogous
#7DAEC2 #7D8BC2 #917DC2
triadic
#7D8BC2 #C27D8B #8BC27D
tetradic
#7D8BC2 #C27DAE #C2B47D #7DC291
square
#7D8BC2 #C27DAE #C2B47D #7DC291
split-complementary
#7D8BC2 #C2917D #AEC27D
monochromatic
#3F4D86 #5366AE #7D8BC2 #A7B0D6 #D0D5E9

Accessibility & contrast

On white

3.31
#7D8BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#7D8BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8BC2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8BC2#FFFFFF#000000##000000
##7D8BC21.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7990C4
Deuteranopia (green-blind)
#748BC1
Tritanopia (blue-blind)
#69969E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7d8bc2;
/* rgb */ color: rgb(125, 139, 194);
/* oklch */ color: oklch(64.7% 0.084 272.9);
Tailwind
colors: {
  custom: {
    50: '#a5acd4',
    500: '#7d8bc2',
    950: '#000000',
  },
}
SCSS
$custom: #7d8bc2;
$custom-light: #a5acd4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8bc2",
  "rgb": {
    "r": 125,
    "g": 139,
    "b": 194
  },
  "hsl": {
    "h": 227.826,
    "s": 36.126,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64706,
    "c": 0.08413,
    "h": 272.9
  },
  "luminance": 0.2672
}

Semantic roles & 50–950 ramp

primary
#7D8BC2
secondary
#DAD5C1
accent
#9736AF
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #7D8BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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