#7C8EEA#7C8EEA

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

Color values

HEX#7C8EEA
RGBrgb(124, 142, 234)
HSLhsl(230, 72%, 70%)
HSVhsv(230, 47%, 92%)
CMYKcmyk(47%, 39.3%, 0%, 8.2%)
CIE-LABlab(61.28, 17.72, -48.57)
CIE-LCHlch(61.28, 51.70, 290.04°)
OKLaboklab(67.27% 0.0091 -0.1372)
OKLCHoklch(67.27% 0.138 273.8)
XYZxyz(32.8318, 29.5697, 81.8035)
Luminance0.2957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8EEA #EAD87C
analogous
#7CC5EA #7C8EEA #A17CEA
triadic
#7C8EEA #EA7C8E #8EEA7C
tetradic
#7C8EEA #EA7CC5 #EAD87C #7CEAA1
square
#7C8EEA #EA7CC5 #EAD87C #7CEAA1
split-complementary
#7C8EEA #EAA17C #C5EA7C
monochromatic
#213CCB #4761E2 #7C8EEA #B1BBF2 #E5E8FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8EEA#FFFFFF#000000##000000
##7C8EEA1.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)
#6B99EE
Deuteranopia (green-blind)
#6190E8
Tritanopia (blue-blind)
#52A1B1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7c8eea;
/* rgb */ color: rgb(124, 142, 234);
/* oklch */ color: oklch(67.3% 0.138 273.8);
Tailwind
colors: {
  custom: {
    50: '#a7aef1',
    500: '#7c8eea',
    950: '#000000',
  },
}
SCSS
$custom: #7c8eea;
$custom-light: #a7aef1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8eea",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 234
  },
  "hsl": {
    "h": 230.182,
    "s": 72.368,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67275,
    "c": 0.13754,
    "h": 273.8
  },
  "luminance": 0.29572
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C8EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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