#7D8AEC#7D8AEC

#7D8AEC is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.7% C 0.145 H 276.0°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7D8AEC
RGBrgb(125, 138, 236)
HSLhsl(233, 74%, 71%)
HSVhsv(233, 47%, 93%)
CMYKcmyk(47%, 41.5%, 0%, 7.5%)
CIE-LABlab(60.42, 20.89, -51.04)
CIE-LCHlch(60.42, 55.15, 292.26°)
OKLaboklab(66.66% 0.0152 -0.1444)
OKLCHoklch(66.66% 0.145 276)
XYZxyz(32.6816, 28.5912, 83.1372)
Luminance0.2859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8AEC #ECDF7D
analogous
#7DC1EC #7D8AEC #A77DEC
triadic
#7D8AEC #EC7D8A #8AEC7D
tetradic
#7D8AEC #EC7DC1 #ECDF7D #7DECA7
square
#7D8AEC #EC7DC1 #ECDF7D #7DECA7
split-complementary
#7D8AEC #ECA77D #C1EC7D
monochromatic
#1E33D0 #485AE4 #7D8AEC #B2BAF4 #E4E7FB

Accessibility & contrast

On white

3.13
#7D8AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#7D8AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8AEC
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8AEC#FFFFFF#000000##000000
##7D8AEC1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496F0
Deuteranopia (green-blind)
#5A8DEA
Tritanopia (blue-blind)
#549EB0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7d8aec;
/* rgb */ color: rgb(125, 138, 236);
/* oklch */ color: oklch(66.7% 0.145 276.0);
Tailwind
colors: {
  custom: {
    50: '#a8acf2',
    500: '#7d8aec',
    950: '#000000',
  },
}
SCSS
$custom: #7d8aec;
$custom-light: #a8acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8aec",
  "rgb": {
    "r": 125,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 232.973,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66665,
    "c": 0.14525,
    "h": 276
  },
  "luminance": 0.28593
}

Semantic roles & 50–950 ramp

primary
#7D8AEC
secondary
#F1EED3
accent
#BF0FD7
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7D8AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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