#7C8EEB#7C8EEB

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

Color values

HEX#7C8EEB
RGBrgb(124, 142, 235)
HSLhsl(230, 74%, 70%)
HSVhsv(230, 47%, 92%)
CMYKcmyk(47.2%, 39.6%, 0%, 7.8%)
CIE-LABlab(61.33, 18.01, -49.05)
CIE-LCHlch(61.33, 52.25, 290.16°)
OKLaboklab(67.33% 0.0093 -0.1386)
OKLCHoklch(67.33% 0.139 273.8)
XYZxyz(32.9759, 29.6273, 82.5622)
Luminance0.2963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8EEB #EBD97C
analogous
#7CC6EB #7C8EEB #A17CEB
triadic
#7C8EEB #EB7C8E #8EEB7C
tetradic
#7C8EEB #EB7CC6 #EBD97C #7CEBA1
square
#7C8EEB #EB7CC6 #EBD97C #7CEBA1
split-complementary
#7C8EEB #EBA17C #C6EB7C
monochromatic
#1F3CCD #4760E3 #7C8EEB #B1BCF3 #E4E8FB

Accessibility & contrast

On white

3.03
#7C8EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#7C8EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8EEB
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8EEB#FFFFFF#000000##000000
##7C8EEB1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99EF
Deuteranopia (green-blind)
#6090E9
Tritanopia (blue-blind)
#52A1B1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7c8eeb;
/* rgb */ color: rgb(124, 142, 235);
/* oklch */ color: oklch(67.3% 0.139 273.8);
Tailwind
colors: {
  custom: {
    50: '#a7aef2',
    500: '#7c8eeb',
    950: '#000000',
  },
}
SCSS
$custom: #7c8eeb;
$custom-light: #a7aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8eeb",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 235
  },
  "hsl": {
    "h": 230.27,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6733,
    "c": 0.13893,
    "h": 273.8
  },
  "luminance": 0.29629
}

Semantic roles & 50–950 ramp

primary
#7C8EEB
secondary
#F1ECD2
accent
#B610D6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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