#7C81EB#7C81EB

#7C81EB is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.8% C 0.156 H 279.1°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7C81EB
RGBrgb(124, 129, 235)
HSLhsl(237, 74%, 70%)
HSVhsv(237, 47%, 92%)
CMYKcmyk(47.2%, 45.1%, 0%, 7.8%)
CIE-LABlab(58.02, 25.69, -54.31)
CIE-LCHlch(58.02, 60.08, 295.31°)
OKLaboklab(64.8% 0.0246 -0.1541)
OKLCHoklch(64.8% 0.156 279.1)
XYZxyz(31.1533, 25.9821, 81.9547)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C81EB #EBE67C
analogous
#7CB9EB #7C81EB #AE7CEB
triadic
#7C81EB #EB7C81 #81EB7C
tetradic
#7C81EB #EB7CB9 #EBE67C #7CEBAE
square
#7C81EB #EB7CB9 #EBE67C #7CEBAE
split-complementary
#7C81EB #EBAE7C #B9EB7C
monochromatic
#1F27CD #474EE3 #7C81EB #B1B4F3 #E4E5FB

Accessibility & contrast

On white

3.39
#7C81EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#7C81EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C81EB
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C81EB#FFFFFF#000000##000000
##7C81EB1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590EF
Deuteranopia (green-blind)
#4D87E9
Tritanopia (blue-blind)
#5497AB
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7c81eb;
/* rgb */ color: rgb(124, 129, 235);
/* oklch */ color: oklch(64.8% 0.156 279.1);
Tailwind
colors: {
  custom: {
    50: '#a8a5f2',
    500: '#7c81eb',
    950: '#000000',
  },
}
SCSS
$custom: #7c81eb;
$custom-light: #a8a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c81eb",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 237.297,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64803,
    "c": 0.15604,
    "h": 279.1
  },
  "luminance": 0.25984
}

Semantic roles & 50–950 ramp

primary
#7C81EB
secondary
#F1EFD2
accent
#CD10D6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7C81EB

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

Preview Lab → · Contrast checker → · Palette generator →

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