#7D8AEE#7D8AEE

#7D8AEE is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.8% C 0.148 H 276.0°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7D8AEE
RGBrgb(125, 138, 238)
HSLhsl(233, 77%, 71%)
HSVhsv(233, 47%, 93%)
CMYKcmyk(47.5%, 42%, 0%, 6.7%)
CIE-LABlab(60.52, 21.49, -51.98)
CIE-LCHlch(60.52, 56.25, 292.46°)
OKLaboklab(66.78% 0.0156 -0.1472)
OKLCHoklch(66.78% 0.148 276)
XYZxyz(32.9737, 28.7081, 84.6761)
Luminance0.2871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8AEE #EEE17D
analogous
#7DC2EE #7D8AEE #A87DEE
triadic
#7D8AEE #EE7D8A #8AEE7D
tetradic
#7D8AEE #EE7DC2 #EEE17D #7DEEA8
square
#7D8AEE #EE7DC2 #EEE17D #7DEEA8
split-complementary
#7D8AEE #EEA87D #C2EE7D
monochromatic
#1C31D5 #4759E7 #7D8AEE #B3BBF5 #E4E7FB

Accessibility & contrast

On white

3.11
#7D8AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#7D8AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8AEE
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8AEE#FFFFFF#000000##000000
##7D8AEE1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F2
Deuteranopia (green-blind)
#598EEC
Tritanopia (blue-blind)
#529FB0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7d8aee;
/* rgb */ color: rgb(125, 138, 238);
/* oklch */ color: oklch(66.8% 0.148 276.0);
Tailwind
colors: {
  custom: {
    50: '#a8acf4',
    500: '#7d8aee',
    950: '#000000',
  },
}
SCSS
$custom: #7d8aee;
$custom-light: #a8acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8aee",
  "rgb": {
    "r": 125,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 233.097,
    "s": 76.871,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66778,
    "c": 0.14803,
    "h": 276
  },
  "luminance": 0.2871
}

Semantic roles & 50–950 ramp

primary
#7D8AEE
secondary
#F2EFD5
accent
#C20CD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7D8AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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