#7D8DEF#7D8DEF

#7D8DEF is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.4% C 0.146 H 274.8°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7D8DEF
RGBrgb(125, 141, 239)
HSLhsl(232, 78%, 71%)
HSVhsv(232, 48%, 94%)
CMYKcmyk(47.7%, 41%, 0%, 6.3%)
CIE-LABlab(61.34, 20.02, -51.24)
CIE-LCHlch(61.34, 55.01, 291.34°)
OKLaboklab(67.42% 0.0122 -0.145)
OKLCHoklch(67.42% 0.146 274.8)
XYZxyz(33.5574, 29.6398, 85.5974)
Luminance0.2964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8DEF #EFDF7D
analogous
#7DC6EF #7D8DEF #A67DEF
triadic
#7D8DEF #EF7D8D #8DEF7D
tetradic
#7D8DEF #EF7DC6 #EFDF7D #7DEFA6
square
#7D8DEF #EF7DC6 #EFDF7D #7DEFA6
split-complementary
#7D8DEF #EFA67D #C6EF7D
monochromatic
#1A35D7 #475DE8 #7D8DEF #B3BDF6 #E4E7FC

Accessibility & contrast

On white

3.03
#7D8DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#7D8DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8DEF
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8DEF#FFFFFF#000000##000000
##7D8DEF1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#5C90ED
Tritanopia (blue-blind)
#51A2B2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7d8def;
/* rgb */ color: rgb(125, 141, 239);
/* oklch */ color: oklch(67.4% 0.146 274.8);
Tailwind
colors: {
  custom: {
    50: '#a8aef5',
    500: '#7d8def',
    950: '#000000',
  },
}
SCSS
$custom: #7d8def;
$custom-light: #a8aef5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8def",
  "rgb": {
    "r": 125,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 231.579,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67421,
    "c": 0.14551,
    "h": 274.8
  },
  "luminance": 0.29642
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D8DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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