#7D8EC5#7D8EC5

#7D8EC5 is a light, moderate blue. Relative luminance 0.277; OKLCH L 65.5% C 0.085 H 270.7°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7D8EC5
RGBrgb(125, 142, 197)
HSLhsl(226, 38%, 63%)
HSVhsv(226, 37%, 77%)
CMYKcmyk(36.5%, 27.9%, 0%, 22.7%)
CIE-LABlab(59.65, 7.43, -30.46)
CIE-LCHlch(59.65, 31.35, 283.71°)
OKLaboklab(65.47% 0.0011 -0.0847)
OKLCHoklch(65.47% 0.085 270.7)
XYZxyz(28.2055, 27.7360, 56.6799)
Luminance0.2774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8EC5 #C5B47D
analogous
#7DB2C5 #7D8EC5 #907DC5
triadic
#7D8EC5 #C57D8E #8EC57D
tetradic
#7D8EC5 #C57DB2 #C5B47D #7DC590
square
#7D8EC5 #C57DB2 #C5B47D #7DC590
split-complementary
#7D8EC5 #C5907D #B2C57D
monochromatic
#3E508A #5369B2 #7D8EC5 #A7B3D8 #D2D8EB

Accessibility & contrast

On white

3.21
#7D8EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#7D8EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8EC5
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8EC5#FFFFFF#000000##000000
##7D8EC51.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C93C7
Deuteranopia (green-blind)
#768DC4
Tritanopia (blue-blind)
#6799A1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7d8ec5;
/* rgb */ color: rgb(125, 142, 197);
/* oklch */ color: oklch(65.5% 0.085 270.7);
Tailwind
colors: {
  custom: {
    50: '#a5aed6',
    500: '#7d8ec5',
    950: '#000000',
  },
}
SCSS
$custom: #7d8ec5;
$custom-light: #a5aed6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8ec5",
  "rgb": {
    "r": 125,
    "g": 142,
    "b": 197
  },
  "hsl": {
    "h": 225.833,
    "s": 38.298,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65474,
    "c": 0.08473,
    "h": 270.7
  },
  "luminance": 0.27737
}

Semantic roles & 50–950 ramp

primary
#7D8EC5
secondary
#DCD6C2
accent
#9434B1
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #7D8EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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