#7E8DF2#7E8DF2

#7E8DF2 is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.7% C 0.149 H 275.3°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7E8DF2
RGBrgb(126, 141, 242)
HSLhsl(232, 82%, 72%)
HSVhsv(232, 48%, 95%)
CMYKcmyk(47.9%, 41.7%, 0%, 5.1%)
CIE-LABlab(61.56, 21.14, -52.54)
CIE-LCHlch(61.56, 56.63, 291.92°)
OKLaboklab(67.66% 0.0138 -0.1488)
OKLCHoklch(67.66% 0.149 275.3)
XYZxyz(34.1511, 29.8942, 87.9578)
Luminance0.2990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8DF2 #F2E37E
analogous
#7EC7F2 #7E8DF2 #A97EF2
triadic
#7E8DF2 #F27E8D #8DF27E
tetradic
#7E8DF2 #F27EC7 #F2E37E #7EF2A9
square
#7E8DF2 #F27EC7 #F2E37E #7EF2A9
split-complementary
#7E8DF2 #F2A97E #C7F27E
monochromatic
#1630DF #465CEC #7E8DF2 #B6BEF8 #E3E6FC

Accessibility & contrast

On white

3.01
#7E8DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#7E8DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8DF2
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8DF2#FFFFFF#000000##000000
##7E8DF21.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF6
Deuteranopia (green-blind)
#5B90F0
Tritanopia (blue-blind)
#51A2B4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7e8df2;
/* rgb */ color: rgb(126, 141, 242);
/* oklch */ color: oklch(67.7% 0.149 275.3);
Tailwind
colors: {
  custom: {
    50: '#a9aef7',
    500: '#7e8df2',
    950: '#000000',
  },
}
SCSS
$custom: #7e8df2;
$custom-light: #a9aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8df2",
  "rgb": {
    "r": 126,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 232.241,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67657,
    "c": 0.14943,
    "h": 275.3
  },
  "luminance": 0.29896
}

Semantic roles & 50–950 ramp

primary
#7E8DF2
secondary
#F4F0D7
accent
#C207DE
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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