#7C8EF8#7C8EF8

#7C8EF8 is a light, vivid blue. Relative luminance 0.304; OKLCH L 68.1% C 0.157 H 274.2°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#7C8EF8
RGBrgb(124, 142, 248)
HSLhsl(231, 90%, 73%)
HSVhsv(231, 50%, 97%)
CMYKcmyk(50%, 42.7%, 0%, 2.7%)
CIE-LABlab(62.00, 21.90, -55.15)
CIE-LCHlch(62.00, 59.34, 291.66°)
OKLaboklab(68.06% 0.0116 -0.1565)
OKLCHoklch(68.06% 0.157 274.2)
XYZxyz(34.9231, 30.4062, 92.8175)
Luminance0.3041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8EF8 #F8E67C
analogous
#7CCCF8 #7C8EF8 #A87CF8
triadic
#7C8EF8 #F87C8E #8EF87C
tetradic
#7C8EF8 #F87CCC #F8E67C #7CF8A8
square
#7C8EF8 #F87CCC #F8E67C #7CF8A8
split-complementary
#7C8EF8 #F8A87C #CCF87C
monochromatic
#0D2DED #425CF5 #7C8EF8 #B6C0FB #E2E6FD

Accessibility & contrast

On white

2.97
#7C8EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#7C8EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8EF8
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8EF8#FFFFFF#000000##000000
##7C8EF81.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFC
Deuteranopia (green-blind)
#5691F6
Tritanopia (blue-blind)
#48A5B7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7c8ef8;
/* rgb */ color: rgb(124, 142, 248);
/* oklch */ color: oklch(68.1% 0.157 274.2);
Tailwind
colors: {
  custom: {
    50: '#a9aefb',
    500: '#7c8ef8',
    950: '#000000',
  },
}
SCSS
$custom: #7c8ef8;
$custom-light: #a9aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8ef8",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 231.29,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68063,
    "c": 0.1569,
    "h": 274.2
  },
  "luminance": 0.30408
}

Semantic roles & 50–950 ramp

primary
#7C8EF8
secondary
#F6F1D5
accent
#C400E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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