#7C8EC2#7C8EC2

#7C8EC2 is a light, moderate blue. Relative luminance 0.275; OKLCH L 65.3% C 0.081 H 269.4°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7C8EC2
RGBrgb(124, 142, 194)
HSLhsl(225, 36%, 62%)
HSVhsv(225, 36%, 76%)
CMYKcmyk(36.1%, 26.8%, 0%, 23.9%)
CIE-LABlab(59.46, 6.33, -29.07)
CIE-LCHlch(59.46, 29.75, 282.29°)
OKLaboklab(65.27% -0.0009 -0.0808)
OKLCHoklch(65.27% 0.081 269.4)
XYZxyz(27.7199, 27.5250, 54.8808)
Luminance0.2753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8EC2 #C2B07C
analogous
#7CB1C2 #7C8EC2 #8D7CC2
triadic
#7C8EC2 #C27C8E #8EC27C
tetradic
#7C8EC2 #C27CB1 #C2B07C #7CC28D
square
#7C8EC2 #C27CB1 #C2B07C #7CC28D
split-complementary
#7C8EC2 #C28D7C #B1C27C
monochromatic
#3E5085 #526AAF #7C8EC2 #A6B2D5 #D0D6E9

Accessibility & contrast

On white

3.23
#7C8EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#7C8EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8EC2
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8EC2#FFFFFF#000000##000000
##7C8EC21.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D92C4
Deuteranopia (green-blind)
#778CC1
Tritanopia (blue-blind)
#6798A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7c8ec2;
/* rgb */ color: rgb(124, 142, 194);
/* oklch */ color: oklch(65.3% 0.081 269.4);
Tailwind
colors: {
  custom: {
    50: '#a4aed4',
    500: '#7c8ec2',
    950: '#000000',
  },
}
SCSS
$custom: #7c8ec2;
$custom-light: #a4aed4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8ec2",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 194
  },
  "hsl": {
    "h": 224.571,
    "s": 36.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65266,
    "c": 0.08076,
    "h": 269.4
  },
  "luminance": 0.27526
}

Semantic roles & 50–950 ramp

primary
#7C8EC2
secondary
#DAD3C0
accent
#9036AF
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #7C8EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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