#7C8EF2#7C8EF2

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

Color values

HEX#7C8EF2
RGBrgb(124, 142, 242)
HSLhsl(231, 82%, 72%)
HSVhsv(231, 49%, 95%)
CMYKcmyk(48.8%, 41.3%, 0%, 5.1%)
CIE-LABlab(61.69, 20.10, -52.35)
CIE-LCHlch(61.69, 56.07, 291.00°)
OKLaboklab(67.72% 0.0105 -0.1483)
OKLCHoklch(67.72% 0.149 274.1)
XYZxyz(34.0071, 30.0398, 87.9935)
Luminance0.3004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8EF2 #F2E07C
analogous
#7CC9F2 #7C8EF2 #A57CF2
triadic
#7C8EF2 #F27C8E #8EF27C
tetradic
#7C8EF2 #F27CC9 #F2E07C #7CF2A5
square
#7C8EF2 #F27CC9 #F2E07C #7CF2A5
split-complementary
#7C8EF2 #F2A57C #C9F27C
monochromatic
#1634DE #445EEC #7C8EF2 #B4BEF8 #E3E7FC

Accessibility & contrast

On white

3.00
#7C8EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8EF2#FFFFFF#000000##000000
##7C8EF21.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF6
Deuteranopia (green-blind)
#5B90F0
Tritanopia (blue-blind)
#4DA3B4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7c8ef2;
/* rgb */ color: rgb(124, 142, 242);
/* oklch */ color: oklch(67.7% 0.149 274.1);
Tailwind
colors: {
  custom: {
    50: '#a8aef7',
    500: '#7c8ef2',
    950: '#000000',
  },
}
SCSS
$custom: #7c8ef2;
$custom-light: #a8aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8ef2",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 230.847,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.6772,
    "c": 0.14863,
    "h": 274.1
  },
  "luminance": 0.30042
}

Semantic roles & 50–950 ramp

primary
#7C8EF2
secondary
#F4EFD6
accent
#BE07DE
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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