#7C8DEF#7C8DEF

#7C8DEF is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.4% C 0.146 H 274.4°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7C8DEF
RGBrgb(124, 141, 239)
HSLhsl(231, 78%, 71%)
HSVhsv(231, 48%, 94%)
CMYKcmyk(48.1%, 41%, 0%, 6.3%)
CIE-LABlab(61.28, 19.79, -51.34)
CIE-LCHlch(61.28, 55.03, 291.08°)
OKLaboklab(67.35% 0.0112 -0.1453)
OKLCHoklch(67.35% 0.146 274.4)
XYZxyz(33.4121, 29.5649, 85.5906)
Luminance0.2957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8DEF #EFDE7C
analogous
#7CC6EF #7C8DEF #A47CEF
triadic
#7C8DEF #EF7C8D #8DEF7C
tetradic
#7C8DEF #EF7CC6 #EFDE7C #7CEFA4
square
#7C8DEF #EF7CC6 #EFDE7C #7CEFA4
split-complementary
#7C8DEF #EFA47C #C6EF7C
monochromatic
#1A36D6 #455EE8 #7C8DEF #B3BCF6 #E4E7FC

Accessibility & contrast

On white

3.04
#7C8DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#7C8DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8DEF
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8DEF#FFFFFF#000000##000000
##7C8DEF1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#5C8FED
Tritanopia (blue-blind)
#4FA2B2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7c8def;
/* rgb */ color: rgb(124, 141, 239);
/* oklch */ color: oklch(67.4% 0.146 274.4);
Tailwind
colors: {
  custom: {
    50: '#a8aef5',
    500: '#7c8def',
    950: '#000000',
  },
}
SCSS
$custom: #7c8def;
$custom-light: #a8aef5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8def",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 231.13,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67354,
    "c": 0.14577,
    "h": 274.4
  },
  "luminance": 0.29567
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C8DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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