#7C8DF0#7C8DF0

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

Color values

HEX#7C8DF0
RGBrgb(124, 141, 240)
HSLhsl(231, 79%, 71%)
HSVhsv(231, 48%, 94%)
CMYKcmyk(48.3%, 41.3%, 0%, 5.9%)
CIE-LABlab(61.33, 20.09, -51.81)
CIE-LCHlch(61.33, 55.57, 291.19°)
OKLaboklab(67.41% 0.0114 -0.1467)
OKLCHoklch(67.41% 0.147 274.4)
XYZxyz(33.5603, 29.6241, 86.3708)
Luminance0.2963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8DF0 #F0DF7C
analogous
#7CC7F0 #7C8DF0 #A57CF0
triadic
#7C8DF0 #F07C8D #8DF07C
tetradic
#7C8DF0 #F07CC7 #F0DF7C #7CF0A5
square
#7C8DF0 #F07CC7 #F0DF7C #7CF0A5
split-complementary
#7C8DF0 #F0A57C #C7F07C
monochromatic
#1935D9 #455DEA #7C8DF0 #B3BDF6 #E4E7FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8DF0#FFFFFF#000000##000000
##7C8DF01.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)
#6699F4
Deuteranopia (green-blind)
#5B90EE
Tritanopia (blue-blind)
#4EA2B3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7c8df0;
/* rgb */ color: rgb(124, 141, 240);
/* oklch */ color: oklch(67.4% 0.147 274.4);
Tailwind
colors: {
  custom: {
    50: '#a8aef5',
    500: '#7c8df0',
    950: '#000000',
  },
}
SCSS
$custom: #7c8df0;
$custom-light: #a8aef5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8df0",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 240
  },
  "hsl": {
    "h": 231.207,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67411,
    "c": 0.14716,
    "h": 274.4
  },
  "luminance": 0.29626
}

Semantic roles & 50–950 ramp

primary
#7C8DF0
secondary
#F3EFD5
accent
#BD0ADC
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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