#7C7EAE#7C7EAE

#7C7EAE is a mid, moderate blue. Relative luminance 0.223; OKLCH L 61.0% C 0.073 H 282.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7C7EAE
RGBrgb(124, 126, 174)
HSLhsl(238, 24%, 58%)
HSVhsv(238, 29%, 68%)
CMYKcmyk(28.7%, 27.6%, 0%, 31.8%)
CIE-LABlab(54.30, 10.39, -25.63)
CIE-LCHlch(54.30, 27.66, 292.06°)
OKLaboklab(60.99% 0.0153 -0.0709)
OKLCHoklch(60.99% 0.073 282.2)
XYZxyz(23.4110, 22.2622, 43.0998)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7EAE #AEAC7C
analogous
#7C97AE #7C7EAE #937CAE
triadic
#7C7EAE #AE7C7E #7EAE7C
tetradic
#7C7EAE #AE7C97 #AEAC7C #7CAE93
square
#7C7EAE #AE7C97 #AEAC7C #7CAE93
split-complementary
#7C7EAE #AE937C #97AE7C
monochromatic
#43456D #5A5D92 #7C7EAE #A2A3C5 #C8C8DD

Accessibility & contrast

On white

3.85
#7C7EAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#7C7EAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7EAE
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7EAE#FFFFFF#000000##000000
##7C7EAE1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7184B0
Deuteranopia (green-blind)
#6E80AD
Tritanopia (blue-blind)
#70878F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7c7eae;
/* rgb */ color: rgb(124, 126, 174);
/* oklch */ color: oklch(61.0% 0.073 282.2);
Tailwind
colors: {
  custom: {
    50: '#a3a3c6',
    500: '#7c7eae',
    950: '#000000',
  },
}
SCSS
$custom: #7c7eae;
$custom-light: #a3a3c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7eae",
  "rgb": {
    "r": 124,
    "g": 126,
    "b": 174
  },
  "hsl": {
    "h": 237.6,
    "s": 23.585,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60994,
    "c": 0.07254,
    "h": 282.2
  },
  "luminance": 0.22263
}

Semantic roles & 50–950 ramp

primary
#7C7EAE
secondary
#CDCCB9
accent
#BD68C0
background
#FAFAFC
surface
#F4F3F8
border
#CECDD1
text
#0F0F13
muted
#7F7F82

Preview Lab

Preview with #7C7EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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