#7C8EF0#7C8EF0

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

Color values

HEX#7C8EF0
RGBrgb(124, 142, 240)
HSLhsl(231, 79%, 71%)
HSVhsv(231, 48%, 94%)
CMYKcmyk(48.3%, 40.8%, 0%, 5.9%)
CIE-LABlab(61.59, 19.50, -51.41)
CIE-LCHlch(61.59, 54.98, 290.77°)
OKLaboklab(67.61% 0.0102 -0.1455)
OKLCHoklch(67.61% 0.146 274)
XYZxyz(33.7084, 29.9204, 86.4202)
Luminance0.2992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8EF0 #F0DE7C
analogous
#7CC8F0 #7C8EF0 #A47CF0
triadic
#7C8EF0 #F07C8E #8EF07C
tetradic
#7C8EF0 #F07CC8 #F0DE7C #7CF0A4
square
#7C8EF0 #F07CC8 #F0DE7C #7CF0A4
split-complementary
#7C8EF0 #F0A47C #C8F07C
monochromatic
#1937D9 #455FEA #7C8EF0 #B3BDF6 #E4E7FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8EF0#FFFFFF#000000##000000
##7C8EF01.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)
#679AF4
Deuteranopia (green-blind)
#5C90EE
Tritanopia (blue-blind)
#4EA3B3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7c8ef0;
/* rgb */ color: rgb(124, 142, 240);
/* oklch */ color: oklch(67.6% 0.146 274.0);
Tailwind
colors: {
  custom: {
    50: '#a8aef5',
    500: '#7c8ef0',
    950: '#000000',
  },
}
SCSS
$custom: #7c8ef0;
$custom-light: #a8aef5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8ef0",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 240
  },
  "hsl": {
    "h": 230.69,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67607,
    "c": 0.14588,
    "h": 274
  },
  "luminance": 0.29922
}

Semantic roles & 50–950 ramp

primary
#7C8EF0
secondary
#F3EED5
accent
#BB0ADC
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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