#7C8DEB#7C8DEB

#7C8DEB is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.1% C 0.140 H 274.3°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#7C8DEB
RGBrgb(124, 141, 235)
HSLhsl(231, 74%, 70%)
HSVhsv(231, 47%, 92%)
CMYKcmyk(47.2%, 40%, 0%, 7.8%)
CIE-LABlab(61.07, 18.60, -49.46)
CIE-LCHlch(61.07, 52.84, 290.61°)
OKLaboklab(67.13% 0.0104 -0.1398)
OKLCHoklch(67.13% 0.14 274.3)
XYZxyz(32.8278, 29.3311, 82.5128)
Luminance0.2933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8DEB #EBDA7C
analogous
#7CC4EB #7C8DEB #A27CEB
triadic
#7C8DEB #EB7C8D #8DEB7C
tetradic
#7C8DEB #EB7CC4 #EBDA7C #7CEBA2
square
#7C8DEB #EB7CC4 #EBDA7C #7CEBA2
split-complementary
#7C8DEB #EBA27C #C4EB7C
monochromatic
#1F3ACD #475FE3 #7C8DEB #B1BBF3 #E4E8FB

Accessibility & contrast

On white

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

On black

6.87
#7C8DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8DEB
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8DEB#FFFFFF#000000##000000
##7C8DEB1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6998EF
Deuteranopia (green-blind)
#5F8FE9
Tritanopia (blue-blind)
#52A1B1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7c8deb;
/* rgb */ color: rgb(124, 141, 235);
/* oklch */ color: oklch(67.1% 0.140 274.3);
Tailwind
colors: {
  custom: {
    50: '#a7aef2',
    500: '#7c8deb',
    950: '#000000',
  },
}
SCSS
$custom: #7c8deb;
$custom-light: #a7aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8deb",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 230.811,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67131,
    "c": 0.14021,
    "h": 274.3
  },
  "luminance": 0.29333
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C8DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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