#7D8AEF#7D8AEF

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

Color values

HEX#7D8AEF
RGBrgb(125, 138, 239)
HSLhsl(233, 78%, 71%)
HSVhsv(233, 48%, 94%)
CMYKcmyk(47.7%, 42.3%, 0%, 6.3%)
CIE-LABlab(60.58, 21.78, -52.45)
CIE-LCHlch(60.58, 56.80, 292.55°)
OKLaboklab(66.83% 0.0157 -0.1486)
OKLCHoklch(66.83% 0.149 276)
XYZxyz(33.1211, 28.7670, 85.4520)
Luminance0.2877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8AEF #EFE27D
analogous
#7DC3EF #7D8AEF #A97DEF
triadic
#7D8AEF #EF7D8A #8AEF7D
tetradic
#7D8AEF #EF7DC3 #EFE27D #7DEFA9
square
#7D8AEF #EF7DC3 #EFE27D #7DEFA9
split-complementary
#7D8AEF #EFA97D #C3EF7D
monochromatic
#1A30D7 #4759E8 #7D8AEF #B3BBF6 #E4E6FC

Accessibility & contrast

On white

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

On black

6.75
#7D8AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8AEF
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8AEF#FFFFFF#000000##000000
##7D8AEF1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F3
Deuteranopia (green-blind)
#588EED
Tritanopia (blue-blind)
#529FB1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7d8aef;
/* rgb */ color: rgb(125, 138, 239);
/* oklch */ color: oklch(66.8% 0.149 276.0);
Tailwind
colors: {
  custom: {
    50: '#a8acf5',
    500: '#7d8aef',
    950: '#000000',
  },
}
SCSS
$custom: #7d8aef;
$custom-light: #a8acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8aef",
  "rgb": {
    "r": 125,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 233.158,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66835,
    "c": 0.14941,
    "h": 276
  },
  "luminance": 0.28769
}

Semantic roles & 50–950 ramp

primary
#7D8AEF
secondary
#F3EFD5
accent
#C30BDA
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7D8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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