#7E8EF0#7E8EF0

#7E8EF0 is a light, vivid blue. Relative luminance 0.301; OKLCH L 67.7% C 0.145 H 274.8°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7E8EF0
RGBrgb(126, 142, 240)
HSLhsl(232, 79%, 72%)
HSVhsv(232, 48%, 94%)
CMYKcmyk(47.5%, 40.8%, 0%, 5.9%)
CIE-LABlab(61.72, 19.96, -51.19)
CIE-LCHlch(61.72, 54.95, 291.30°)
OKLaboklab(67.74% 0.0123 -0.1448)
OKLCHoklch(67.74% 0.145 274.8)
XYZxyz(34.0004, 30.0709, 86.4339)
Luminance0.3007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8EF0 #F0E07E
analogous
#7EC7F0 #7E8EF0 #A77EF0
triadic
#7E8EF0 #F07E8E #8EF07E
tetradic
#7E8EF0 #F07EC7 #F0E07E #7EF0A7
square
#7E8EF0 #F07EC7 #F0E07E #7EF0A7
split-complementary
#7E8EF0 #F0A77E #C7F07E
monochromatic
#1934DA #475EEA #7E8EF0 #B5BEF6 #E4E7FC

Accessibility & contrast

On white

2.99
#7E8EF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#7E8EF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E8EF0
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8EF0#FFFFFF#000000##000000
##7E8EF01.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#689AF4
Deuteranopia (green-blind)
#5E91EE
Tritanopia (blue-blind)
#52A3B3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7e8ef0;
/* rgb */ color: rgb(126, 142, 240);
/* oklch */ color: oklch(67.7% 0.145 274.8);
Tailwind
colors: {
  custom: {
    50: '#a9aef5',
    500: '#7e8ef0',
    950: '#000000',
  },
}
SCSS
$custom: #7e8ef0;
$custom-light: #a9aef5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8ef0",
  "rgb": {
    "r": 126,
    "g": 142,
    "b": 240
  },
  "hsl": {
    "h": 231.579,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.6774,
    "c": 0.14537,
    "h": 274.8
  },
  "luminance": 0.30073
}

Semantic roles & 50–950 ramp

primary
#7E8EF0
secondary
#F3EFD6
accent
#BE0ADB
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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