#7E8DF0#7E8DF0

#7E8DF0 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.5% C 0.147 H 275.3°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7E8DF0
RGBrgb(126, 141, 240)
HSLhsl(232, 79%, 72%)
HSVhsv(232, 48%, 94%)
CMYKcmyk(47.5%, 41.3%, 0%, 5.9%)
CIE-LABlab(61.46, 20.54, -51.60)
CIE-LCHlch(61.46, 55.54, 291.71°)
OKLaboklab(67.54% 0.0135 -0.146)
OKLCHoklch(67.54% 0.147 275.3)
XYZxyz(33.8523, 29.7747, 86.3845)
Luminance0.2978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8DF0 #F0E17E
analogous
#7EC6F0 #7E8DF0 #A87EF0
triadic
#7E8DF0 #F07E8D #8DF07E
tetradic
#7E8DF0 #F07EC6 #F0E17E #7EF0A8
square
#7E8DF0 #F07EC6 #F0E17E #7EF0A8
split-complementary
#7E8DF0 #F0A87E #C6F07E
monochromatic
#1933DA #475DEA #7E8DF0 #B5BDF6 #E4E7FC

Accessibility & contrast

On white

3.02
#7E8DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#7E8DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8DF0
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8DF0#FFFFFF#000000##000000
##7E8DF01.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F4
Deuteranopia (green-blind)
#5C90EE
Tritanopia (blue-blind)
#53A2B3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7e8df0;
/* rgb */ color: rgb(126, 141, 240);
/* oklch */ color: oklch(67.5% 0.147 275.3);
Tailwind
colors: {
  custom: {
    50: '#a9aef5',
    500: '#7e8df0',
    950: '#000000',
  },
}
SCSS
$custom: #7e8df0;
$custom-light: #a9aef5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8df0",
  "rgb": {
    "r": 126,
    "g": 141,
    "b": 240
  },
  "hsl": {
    "h": 232.105,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67544,
    "c": 0.14666,
    "h": 275.3
  },
  "luminance": 0.29777
}

Semantic roles & 50–950 ramp

primary
#7E8DF0
secondary
#F3F0D6
accent
#C00ADB
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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