#7C8FEB#7C8FEB

#7C8FEB is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.5% C 0.138 H 273.4°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7C8FEB
RGBrgb(124, 143, 235)
HSLhsl(230, 74%, 70%)
HSVhsv(230, 47%, 92%)
CMYKcmyk(47.2%, 39.1%, 0%, 7.8%)
CIE-LABlab(61.59, 17.42, -48.64)
CIE-LCHlch(61.59, 51.66, 289.71°)
OKLaboklab(67.53% 0.0081 -0.1374)
OKLCHoklch(67.53% 0.138 273.4)
XYZxyz(33.1253, 29.9262, 82.6120)
Luminance0.2993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8FEB #EBD87C
analogous
#7CC6EB #7C8FEB #A07CEB
triadic
#7C8FEB #EB7C8F #8FEB7C
tetradic
#7C8FEB #EB7CC6 #EBD87C #7CEBA0
square
#7C8FEB #EB7CC6 #EBD87C #7CEBA0
split-complementary
#7C8FEB #EBA07C #C6EB7C
monochromatic
#1F3DCD #4762E3 #7C8FEB #B1BCF3 #E4E8FB

Accessibility & contrast

On white

3.01
#7C8FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#7C8FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8FEB
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8FEB#FFFFFF#000000##000000
##7C8FEB1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AEF
Deuteranopia (green-blind)
#6290E9
Tritanopia (blue-blind)
#52A2B2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7c8feb;
/* rgb */ color: rgb(124, 143, 235);
/* oklch */ color: oklch(67.5% 0.138 273.4);
Tailwind
colors: {
  custom: {
    50: '#a7aff2',
    500: '#7c8feb',
    950: '#000000',
  },
}
SCSS
$custom: #7c8feb;
$custom-light: #a7aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8feb",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 229.73,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67529,
    "c": 0.13766,
    "h": 273.4
  },
  "luminance": 0.29928
}

Semantic roles & 50–950 ramp

primary
#7C8FEB
secondary
#F1EBD2
accent
#B410D6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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