#7C8AEE#7C8AEE

#7C8AEE is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.7% C 0.148 H 275.6°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7C8AEE
RGBrgb(124, 138, 238)
HSLhsl(233, 77%, 71%)
HSVhsv(233, 48%, 93%)
CMYKcmyk(47.9%, 42%, 0%, 6.7%)
CIE-LABlab(60.46, 21.26, -52.09)
CIE-LCHlch(60.46, 56.26, 292.20°)
OKLaboklab(66.71% 0.0145 -0.1475)
OKLCHoklch(66.71% 0.148 275.6)
XYZxyz(32.8285, 28.6332, 84.6693)
Luminance0.2863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8AEE #EEE07C
analogous
#7CC3EE #7C8AEE #A77CEE
triadic
#7C8AEE #EE7C8A #8AEE7C
tetradic
#7C8AEE #EE7CC3 #EEE07C #7CEEA7
square
#7C8AEE #EE7CC3 #EEE07C #7CEEA7
split-complementary
#7C8AEE #EEA77C #C3EE7C
monochromatic
#1C32D4 #465AE7 #7C8AEE #B2BAF5 #E4E7FB

Accessibility & contrast

On white

3.12
#7C8AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#7C8AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8AEE
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8AEE#FFFFFF#000000##000000
##7C8AEE1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F2
Deuteranopia (green-blind)
#588DEC
Tritanopia (blue-blind)
#509FB0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7c8aee;
/* rgb */ color: rgb(124, 138, 238);
/* oklch */ color: oklch(66.7% 0.148 275.6);
Tailwind
colors: {
  custom: {
    50: '#a8abf4',
    500: '#7c8aee',
    950: '#000000',
  },
}
SCSS
$custom: #7c8aee;
$custom-light: #a8abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8aee",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 232.632,
    "s": 77.027,
    "l": 70.98
  },
  "oklch": {
    "l": 0.6671,
    "c": 0.14826,
    "h": 275.6
  },
  "luminance": 0.28635
}

Semantic roles & 50–950 ramp

primary
#7C8AEE
secondary
#F2EED4
accent
#C00CD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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