#7C8CF4#7C8CF4

#7C8CF4 is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.4% C 0.154 H 274.9°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7C8CF4
RGBrgb(124, 140, 244)
HSLhsl(232, 85%, 72%)
HSVhsv(232, 49%, 96%)
CMYKcmyk(49.2%, 42.6%, 0%, 4.3%)
CIE-LABlab(61.28, 21.87, -54.09)
CIE-LCHlch(61.28, 58.35, 292.02°)
OKLaboklab(67.44% 0.0132 -0.1534)
OKLCHoklch(67.44% 0.154 274.9)
XYZxyz(34.0143, 29.5709, 89.4858)
Luminance0.2957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8CF4 #F4E47C
analogous
#7CC8F4 #7C8CF4 #A87CF4
triadic
#7C8CF4 #F47C8C #8CF47C
tetradic
#7C8CF4 #F47CC8 #F4E47C #7CF4A8
square
#7C8CF4 #F47CC8 #F4E47C #7CF4A8
split-complementary
#7C8CF4 #F4A87C #C8F47C
monochromatic
#132FE3 #445AEF #7C8CF4 #B4BEF9 #E3E6FD

Accessibility & contrast

On white

3.04
#7C8CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#7C8CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8CF4
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8CF4#FFFFFF#000000##000000
##7C8CF41.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6299F8
Deuteranopia (green-blind)
#568FF2
Tritanopia (blue-blind)
#4BA2B4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7c8cf4;
/* rgb */ color: rgb(124, 140, 244);
/* oklch */ color: oklch(67.4% 0.154 274.9);
Tailwind
colors: {
  custom: {
    50: '#a8adf8',
    500: '#7c8cf4',
    950: '#000000',
  },
}
SCSS
$custom: #7c8cf4;
$custom-light: #a8adf8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8cf4",
  "rgb": {
    "r": 124,
    "g": 140,
    "b": 244
  },
  "hsl": {
    "h": 232,
    "s": 84.507,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67443,
    "c": 0.15396,
    "h": 274.9
  },
  "luminance": 0.29573
}

Semantic roles & 50–950 ramp

primary
#7C8CF4
secondary
#F5F1D6
accent
#C405E1
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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