#7C8CEF#7C8CEF

#7C8CEF is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.2% C 0.147 H 274.8°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#7C8CEF
RGBrgb(124, 140, 239)
HSLhsl(232, 78%, 71%)
HSVhsv(232, 48%, 94%)
CMYKcmyk(48.1%, 41.4%, 0%, 6.3%)
CIE-LABlab(61.02, 20.38, -51.75)
CIE-LCHlch(61.02, 55.62, 291.49°)
OKLaboklab(67.16% 0.0123 -0.1465)
OKLCHoklch(67.16% 0.147 274.8)
XYZxyz(33.2654, 29.2713, 85.5417)
Luminance0.2927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8CEF #EFDF7C
analogous
#7CC5EF #7C8CEF #A57CEF
triadic
#7C8CEF #EF7C8C #8CEF7C
tetradic
#7C8CEF #EF7CC5 #EFDF7C #7CEFA5
square
#7C8CEF #EF7CC5 #EFDF7C #7CEFA5
split-complementary
#7C8CEF #EFA57C #C5EF7C
monochromatic
#1A34D6 #455CE8 #7C8CEF #B3BCF6 #E4E7FC

Accessibility & contrast

On white

3.06
#7C8CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#7C8CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8CEF
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8CEF#FFFFFF#000000##000000
##7C8CEF1.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F3
Deuteranopia (green-blind)
#5A8FED
Tritanopia (blue-blind)
#4FA1B2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7c8cef;
/* rgb */ color: rgb(124, 140, 239);
/* oklch */ color: oklch(67.2% 0.147 274.8);
Tailwind
colors: {
  custom: {
    50: '#a8adf5',
    500: '#7c8cef',
    950: '#000000',
  },
}
SCSS
$custom: #7c8cef;
$custom-light: #a8adf5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8cef",
  "rgb": {
    "r": 124,
    "g": 140,
    "b": 239
  },
  "hsl": {
    "h": 231.652,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67158,
    "c": 0.14706,
    "h": 274.8
  },
  "luminance": 0.29273
}

Semantic roles & 50–950 ramp

primary
#7C8CEF
secondary
#F3EED4
accent
#BE0BDA
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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