#7C8AEF#7C8AEF

#7C8AEF is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.8% C 0.150 H 275.6°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7C8AEF
RGBrgb(124, 138, 239)
HSLhsl(233, 78%, 71%)
HSVhsv(233, 48%, 94%)
CMYKcmyk(48.1%, 42.3%, 0%, 6.3%)
CIE-LABlab(60.51, 21.56, -52.56)
CIE-LCHlch(60.51, 56.81, 292.30°)
OKLaboklab(66.77% 0.0147 -0.1489)
OKLCHoklch(66.77% 0.15 275.6)
XYZxyz(32.9758, 28.6921, 85.4452)
Luminance0.2869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8AEF #EFE17C
analogous
#7CC3EF #7C8AEF #A77CEF
triadic
#7C8AEF #EF7C8A #8AEF7C
tetradic
#7C8AEF #EF7CC3 #EFE17C #7CEFA7
square
#7C8AEF #EF7CC3 #EFE17C #7CEFA7
split-complementary
#7C8AEF #EFA77C #C3EF7C
monochromatic
#1A31D6 #4559E8 #7C8AEF #B3BBF6 #E4E7FC

Accessibility & contrast

On white

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

On black

6.74
#7C8AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8AEF
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8AEF#FFFFFF#000000##000000
##7C8AEF1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F3
Deuteranopia (green-blind)
#578DED
Tritanopia (blue-blind)
#509FB1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7c8aef;
/* rgb */ color: rgb(124, 138, 239);
/* oklch */ color: oklch(66.8% 0.150 275.6);
Tailwind
colors: {
  custom: {
    50: '#a8abf5',
    500: '#7c8aef',
    950: '#000000',
  },
}
SCSS
$custom: #7c8aef;
$custom-light: #a8abf5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8aef",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 232.696,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66767,
    "c": 0.14965,
    "h": 275.6
  },
  "luminance": 0.28694
}

Semantic roles & 50–950 ramp

primary
#7C8AEF
secondary
#F3EFD4
accent
#C10BDA
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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