#7C8EEF#7C8EEF

#7C8EEF is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.6% C 0.144 H 274.0°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7C8EEF
RGBrgb(124, 142, 239)
HSLhsl(231, 78%, 71%)
HSVhsv(231, 48%, 94%)
CMYKcmyk(48.1%, 40.6%, 0%, 6.3%)
CIE-LABlab(61.53, 19.20, -50.94)
CIE-LCHlch(61.53, 54.43, 290.65°)
OKLaboklab(67.55% 0.01 -0.1441)
OKLCHoklch(67.55% 0.144 274)
XYZxyz(33.5603, 29.8611, 85.6400)
Luminance0.2986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8EEF #EFDD7C
analogous
#7CC7EF #7C8EEF #A37CEF
triadic
#7C8EEF #EF7C8E #8EEF7C
tetradic
#7C8EEF #EF7CC7 #EFDD7C #7CEFA3
square
#7C8EEF #EF7CC7 #EFDD7C #7CEFA3
split-complementary
#7C8EEF #EFA37C #C7EF7C
monochromatic
#1A38D6 #455FE8 #7C8EEF #B3BDF6 #E4E7FC

Accessibility & contrast

On white

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

On black

6.97
#7C8EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8EEF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8EEF#FFFFFF#000000##000000
##7C8EEF1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#689AF3
Deuteranopia (green-blind)
#5D90ED
Tritanopia (blue-blind)
#4FA2B3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7c8eef;
/* rgb */ color: rgb(124, 142, 239);
/* oklch */ color: oklch(67.6% 0.144 274.0);
Tailwind
colors: {
  custom: {
    50: '#a8aef5',
    500: '#7c8eef',
    950: '#000000',
  },
}
SCSS
$custom: #7c8eef;
$custom-light: #a8aef5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8eef",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 230.609,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67551,
    "c": 0.14449,
    "h": 274
  },
  "luminance": 0.29863
}

Semantic roles & 50–950 ramp

primary
#7C8EEF
secondary
#F3EED4
accent
#BA0BDA
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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