#7C8BF0#7C8BF0

#7C8BF0 is a light, vivid blue. Relative luminance 0.290; OKLCH L 67.0% C 0.150 H 275.2°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7C8BF0
RGBrgb(124, 139, 240)
HSLhsl(232, 79%, 71%)
HSVhsv(232, 48%, 94%)
CMYKcmyk(48.3%, 42.1%, 0%, 5.9%)
CIE-LABlab(60.82, 21.26, -52.63)
CIE-LCHlch(60.82, 56.76, 292.00°)
OKLaboklab(67.02% 0.0137 -0.1491)
OKLCHoklch(67.02% 0.15 275.2)
XYZxyz(33.2680, 29.0397, 86.2734)
Luminance0.2904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8BF0 #F0E17C
analogous
#7CC5F0 #7C8BF0 #A77CF0
triadic
#7C8BF0 #F07C8B #8BF07C
tetradic
#7C8BF0 #F07CC5 #F0E17C #7CF0A7
square
#7C8BF0 #F07CC5 #F0E17C #7CF0A7
split-complementary
#7C8BF0 #F0A77C #C5F07C
monochromatic
#1932D9 #455AEA #7C8BF0 #B3BCF6 #E4E7FC

Accessibility & contrast

On white

3.08
#7C8BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#7C8BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8BF0
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8BF0#FFFFFF#000000##000000
##7C8BF01.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6398F4
Deuteranopia (green-blind)
#588EEE
Tritanopia (blue-blind)
#4FA0B2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7c8bf0;
/* rgb */ color: rgb(124, 139, 240);
/* oklch */ color: oklch(67.0% 0.150 275.2);
Tailwind
colors: {
  custom: {
    50: '#a8acf5',
    500: '#7c8bf0',
    950: '#000000',
  },
}
SCSS
$custom: #7c8bf0;
$custom-light: #a8acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8bf0",
  "rgb": {
    "r": 124,
    "g": 139,
    "b": 240
  },
  "hsl": {
    "h": 232.241,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67019,
    "c": 0.14974,
    "h": 275.2
  },
  "luminance": 0.29042
}

Semantic roles & 50–950 ramp

primary
#7C8BF0
secondary
#F3EFD5
accent
#C10ADC
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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