#7C8BE4#7C8BE4

#7C8BE4 is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.3% C 0.133 H 274.9°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7C8BE4
RGBrgb(124, 139, 228)
HSLhsl(231, 66%, 69%)
HSVhsv(231, 46%, 89%)
CMYKcmyk(45.6%, 39%, 0%, 10.6%)
CIE-LABlab(60.20, 17.71, -46.95)
CIE-LCHlch(60.20, 50.18, 290.67°)
OKLaboklab(66.35% 0.0115 -0.1325)
OKLCHoklch(66.35% 0.133 274.9)
XYZxyz(31.5441, 28.3501, 77.1937)
Luminance0.2835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8BE4 #E4D57C
analogous
#7CBFE4 #7C8BE4 #A17CE4
triadic
#7C8BE4 #E47C8B #8BE47C
tetradic
#7C8BE4 #E47CBF #E4D57C #7CE4A1
square
#7C8BE4 #E47CBF #E4D57C #7CE4A1
split-complementary
#7C8BE4 #E4A17C #BFE47C
monochromatic
#273DBE #495EDA #7C8BE4 #AFB8EE #E1E5F9

Accessibility & contrast

On white

3.15
#7C8BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#7C8BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8BE4
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8BE4#FFFFFF#000000##000000
##7C8BE41.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A96E7
Deuteranopia (green-blind)
#618DE2
Tritanopia (blue-blind)
#579DAD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7c8be4;
/* rgb */ color: rgb(124, 139, 228);
/* oklch */ color: oklch(66.3% 0.133 274.9);
Tailwind
colors: {
  custom: {
    50: '#a7aced',
    500: '#7c8be4',
    950: '#000000',
  },
}
SCSS
$custom: #7c8be4;
$custom-light: #a7aced;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8be4",
  "rgb": {
    "r": 124,
    "g": 139,
    "b": 228
  },
  "hsl": {
    "h": 231.346,
    "s": 65.823,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6635,
    "c": 0.13301,
    "h": 274.9
  },
  "luminance": 0.28352
}

Semantic roles & 50–950 ramp

primary
#7C8BE4
secondary
#EDE9CF
accent
#B318CE
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #7C8BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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