#7C8FEA#7C8FEA

#7C8FEA is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.5% C 0.136 H 273.3°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7C8FEA
RGBrgb(124, 143, 234)
HSLhsl(230, 72%, 70%)
HSVhsv(230, 47%, 92%)
CMYKcmyk(47%, 38.9%, 0%, 8.2%)
CIE-LABlab(61.54, 17.13, -48.16)
CIE-LCHlch(61.54, 51.12, 289.58°)
OKLaboklab(67.47% 0.0079 -0.136)
OKLCHoklch(67.47% 0.136 273.3)
XYZxyz(32.9813, 29.8686, 81.8533)
Luminance0.2987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8FEA #EAD77C
analogous
#7CC6EA #7C8FEA #A07CEA
triadic
#7C8FEA #EA7C8F #8FEA7C
tetradic
#7C8FEA #EA7CC6 #EAD77C #7CEAA0
square
#7C8FEA #EA7CC6 #EAD77C #7CEAA0
split-complementary
#7C8FEA #EAA07C #C6EA7C
monochromatic
#213ECB #4762E2 #7C8FEA #B1BCF2 #E5E8FB

Accessibility & contrast

On white

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

On black

6.97
#7C8FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8FEA
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8FEA#FFFFFF#000000##000000
##7C8FEA1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C99EE
Deuteranopia (green-blind)
#6290E8
Tritanopia (blue-blind)
#52A2B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7c8fea;
/* rgb */ color: rgb(124, 143, 234);
/* oklch */ color: oklch(67.5% 0.136 273.3);
Tailwind
colors: {
  custom: {
    50: '#a7aff1',
    500: '#7c8fea',
    950: '#000000',
  },
}
SCSS
$custom: #7c8fea;
$custom-light: #a7aff1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8fea",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 234
  },
  "hsl": {
    "h": 229.636,
    "s": 72.368,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67474,
    "c": 0.13626,
    "h": 273.3
  },
  "luminance": 0.29871
}

Semantic roles & 50–950 ramp

primary
#7C8FEA
secondary
#F0EBD2
accent
#B311D4
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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