#7C8DFC#7C8DFC

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

Color values

HEX#7C8DFC
RGBrgb(124, 141, 252)
HSLhsl(232, 96%, 74%)
HSVhsv(232, 51%, 99%)
CMYKcmyk(50.8%, 44%, 0%, 1.2%)
CIE-LABlab(61.96, 23.70, -57.40)
CIE-LCHlch(61.96, 62.10, 292.43°)
OKLaboklab(68.1% 0.0133 -0.1631)
OKLCHoklch(68.1% 0.164 274.7)
XYZxyz(35.4022, 30.3609, 96.0713)
Luminance0.3036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8DFC #FCEB7C
analogous
#7CCDFC #7C8DFC #AB7CFC
triadic
#7C8DFC #FC7C8D #8DFC7C
tetradic
#7C8DFC #FC7CCD #FCEB7C #7CFCAB
square
#7C8DFC #FC7CCD #FCEB7C #7CFCAB
split-complementary
#7C8DFC #FCAB7C #CDFC7C
monochromatic
#0626F8 #4059FB #7C8DFC #B8C1FD #E1E5FE

Accessibility & contrast

On white

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

On black

7.07
#7C8DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8DFC
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8DFC#FFFFFF#000000##000000
##7C8DFC1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#5191FA
Tritanopia (blue-blind)
#44A5B8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7c8dfc;
/* rgb */ color: rgb(124, 141, 252);
/* oklch */ color: oklch(68.1% 0.164 274.7);
Tailwind
colors: {
  custom: {
    50: '#a9aefe',
    500: '#7c8dfc',
    950: '#000000',
  },
}
SCSS
$custom: #7c8dfc;
$custom-light: #a9aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8dfc",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 252
  },
  "hsl": {
    "h": 232.031,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68103,
    "c": 0.16363,
    "h": 274.7
  },
  "luminance": 0.30363
}

Semantic roles & 50–950 ramp

primary
#7C8DFC
secondary
#F7F2D4
accent
#C700E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7C8DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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