#7C8EE9#7C8EE9

#7C8EE9 is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.2% C 0.136 H 273.7°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7C8EE9
RGBrgb(124, 142, 233)
HSLhsl(230, 71%, 70%)
HSVhsv(230, 47%, 91%)
CMYKcmyk(46.8%, 39.1%, 0%, 8.6%)
CIE-LABlab(61.23, 17.42, -48.10)
CIE-LCHlch(61.23, 51.16, 289.91°)
OKLaboklab(67.22% 0.0089 -0.1358)
OKLCHoklch(67.22% 0.136 273.7)
XYZxyz(32.6886, 29.5124, 81.0490)
Luminance0.2951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8EE9 #E9D77C
analogous
#7CC4E9 #7C8EE9 #A17CE9
triadic
#7C8EE9 #E97C8E #8EE97C
tetradic
#7C8EE9 #E97CC4 #E9D77C #7CE9A1
square
#7C8EE9 #E97CC4 #E9D77C #7CE9A1
split-complementary
#7C8EE9 #E9A17C #C4E97C
monochromatic
#223DC9 #4861E0 #7C8EE9 #B0BBF2 #E5E8FB

Accessibility & contrast

On white

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

On black

6.90
#7C8EE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8EE9
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8EE9#FFFFFF#000000##000000
##7C8EE91.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99ED
Deuteranopia (green-blind)
#6290E7
Tritanopia (blue-blind)
#53A1B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7c8ee9;
/* rgb */ color: rgb(124, 142, 233);
/* oklch */ color: oklch(67.2% 0.136 273.7);
Tailwind
colors: {
  custom: {
    50: '#a7aef0',
    500: '#7c8ee9',
    950: '#000000',
  },
}
SCSS
$custom: #7c8ee9;
$custom-light: #a7aef0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8ee9",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 233
  },
  "hsl": {
    "h": 230.092,
    "s": 71.242,
    "l": 70
  },
  "oklch": {
    "l": 0.6722,
    "c": 0.13614,
    "h": 273.7
  },
  "luminance": 0.29514
}

Semantic roles & 50–950 ramp

primary
#7C8EE9
secondary
#F0EBD1
accent
#B312D3
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #7C8EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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