#7C8DFB#7C8DFB

#7C8DFB is a light, vivid blue. Relative luminance 0.303; OKLCH L 68.0% C 0.162 H 274.6°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7C8DFB
RGBrgb(124, 141, 251)
HSLhsl(232, 94%, 74%)
HSVhsv(232, 51%, 98%)
CMYKcmyk(50.6%, 43.8%, 0%, 1.6%)
CIE-LABlab(61.91, 23.39, -56.94)
CIE-LCHlch(61.91, 61.56, 292.33°)
OKLaboklab(68.04% 0.0131 -0.1617)
OKLCHoklch(68.04% 0.162 274.6)
XYZxyz(35.2441, 30.2977, 95.2390)
Luminance0.3030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8DFB #FBEA7C
analogous
#7CCCFB #7C8DFB #AA7CFB
triadic
#7C8DFB #FB7C8D #8DFB7C
tetradic
#7C8DFB #FB7CCC #FBEA7C #7CFBAA
square
#7C8DFB #FB7CCC #FBEA7C #7CFBAA
split-complementary
#7C8DFB #FBAA7C #CCFB7C
monochromatic
#0727F5 #4159F9 #7C8DFB #B7C1FD #E1E5FE

Accessibility & contrast

On white

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

On black

7.06
#7C8DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8DFB
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8DFB#FFFFFF#000000##000000
##7C8DFB1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFF
Deuteranopia (green-blind)
#5291F9
Tritanopia (blue-blind)
#45A5B8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7c8dfb;
/* rgb */ color: rgb(124, 141, 251);
/* oklch */ color: oklch(68.0% 0.162 274.6);
Tailwind
colors: {
  custom: {
    50: '#a9aefd',
    500: '#7c8dfb',
    950: '#000000',
  },
}
SCSS
$custom: #7c8dfb;
$custom-light: #a9aefd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8dfb",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 251
  },
  "hsl": {
    "h": 231.969,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68044,
    "c": 0.16227,
    "h": 274.6
  },
  "luminance": 0.303
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C8DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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