#7D8CD5#7D8CD5

#7D8CD5 is a light, moderate blue. Relative luminance 0.279; OKLCH L 65.8% C 0.110 H 274.2°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7D8CD5
RGBrgb(125, 140, 213)
HSLhsl(230, 51%, 66%)
HSVhsv(230, 41%, 84%)
CMYKcmyk(41.3%, 34.3%, 0%, 16.5%)
CIE-LABlab(59.82, 13.04, -39.19)
CIE-LCHlch(59.82, 41.30, 288.41°)
OKLaboklab(65.83% 0.008 -0.1099)
OKLCHoklch(65.83% 0.11 274.2)
XYZxyz(29.8421, 27.9188, 66.7543)
Luminance0.2792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8CD5 #D5C67D
analogous
#7DB8D5 #7D8CD5 #9A7DD5
triadic
#7D8CD5 #D57D8C #8CD57D
tetradic
#7D8CD5 #D57DB8 #D5C67D #7DD59A
square
#7D8CD5 #D57DB8 #D5C67D #7DD59A
split-complementary
#7D8CD5 #D59A7D #B8D57D
monochromatic
#3547A3 #4F63C6 #7D8CD5 #ABB5E4 #DADEF3

Accessibility & contrast

On white

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

On black

6.58
#7D8CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8CD5
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8CD5#FFFFFF#000000##000000
##7D8CD51.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7394D8
Deuteranopia (green-blind)
#6C8DD3
Tritanopia (blue-blind)
#619BA7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7d8cd5;
/* rgb */ color: rgb(125, 140, 213);
/* oklch */ color: oklch(65.8% 0.110 274.2);
Tailwind
colors: {
  custom: {
    50: '#a6ade2',
    500: '#7d8cd5',
    950: '#000000',
  },
}
SCSS
$custom: #7d8cd5;
$custom-light: #a6ade2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8cd5",
  "rgb": {
    "r": 125,
    "g": 140,
    "b": 213
  },
  "hsl": {
    "h": 229.773,
    "s": 51.163,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65833,
    "c": 0.1102,
    "h": 274.2
  },
  "luminance": 0.2792
}

Semantic roles & 50–950 ramp

primary
#7D8CD5
secondary
#E5E0C9
accent
#A527BF
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #7D8CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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