#7E8BF2#7E8BF2

#7E8BF2 is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.3% C 0.152 H 276.1°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7E8BF2
RGBrgb(126, 139, 242)
HSLhsl(233, 82%, 72%)
HSVhsv(233, 48%, 95%)
CMYKcmyk(47.9%, 42.6%, 0%, 5.1%)
CIE-LABlab(61.05, 22.31, -53.35)
CIE-LCHlch(61.05, 57.83, 292.70°)
OKLaboklab(67.27% 0.0161 -0.1512)
OKLCHoklch(67.27% 0.152 276.1)
XYZxyz(33.8588, 29.3097, 87.8604)
Luminance0.2931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8BF2 #F2E57E
analogous
#7EC5F2 #7E8BF2 #AB7EF2
triadic
#7E8BF2 #F27E8B #8BF27E
tetradic
#7E8BF2 #F27EC5 #F2E57E #7EF2AB
square
#7E8BF2 #F27EC5 #F2E57E #7EF2AB
split-complementary
#7E8BF2 #F2AB7E #C5F27E
monochromatic
#162DDF #4659EC #7E8BF2 #B6BDF8 #E3E6FC

Accessibility & contrast

On white

3.06
#7E8BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#7E8BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8BF2
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8BF2#FFFFFF#000000##000000
##7E8BF21.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#578FF0
Tritanopia (blue-blind)
#52A1B3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7e8bf2;
/* rgb */ color: rgb(126, 139, 242);
/* oklch */ color: oklch(67.3% 0.152 276.1);
Tailwind
colors: {
  custom: {
    50: '#a9acf7',
    500: '#7e8bf2',
    950: '#000000',
  },
}
SCSS
$custom: #7e8bf2;
$custom-light: #a9acf7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8bf2",
  "rgb": {
    "r": 126,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 233.276,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67269,
    "c": 0.15203,
    "h": 276.1
  },
  "luminance": 0.29312
}

Semantic roles & 50–950 ramp

primary
#7E8BF2
secondary
#F4F1D7
accent
#C607DE
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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