#7E8FC0#7E8FC0

#7E8FC0 is a light, moderate blue. Relative luminance 0.279; OKLCH L 65.5% C 0.076 H 269.5°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7E8FC0
RGBrgb(126, 143, 192)
HSLhsl(225, 34%, 62%)
HSVhsv(225, 34%, 75%)
CMYKcmyk(34.4%, 25.5%, 0%, 24.7%)
CIE-LABlab(59.78, 5.79, -27.42)
CIE-LCHlch(59.78, 28.02, 281.92°)
OKLaboklab(65.53% -0.0007 -0.076)
OKLCHoklch(65.53% 0.076 269.5)
XYZxyz(27.9383, 27.8852, 53.7693)
Luminance0.2789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8FC0 #C0AF7E
analogous
#7EB0C0 #7E8FC0 #8E7EC0
triadic
#7E8FC0 #C07E8F #8FC07E
tetradic
#7E8FC0 #C07EB0 #C0AF7E #7EC08E
square
#7E8FC0 #C07EB0 #C0AF7E #7EC08E
split-complementary
#7E8FC0 #C08E7E #B0C07E
monochromatic
#405283 #556BAC #7E8FC0 #A7B3D4 #D0D6E8

Accessibility & contrast

On white

3.19
#7E8FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#7E8FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8FC0
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8FC0#FFFFFF#000000##000000
##7E8FC01.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F93C2
Deuteranopia (green-blind)
#798DBF
Tritanopia (blue-blind)
#6B99A0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e8fc0;
/* rgb */ color: rgb(126, 143, 192);
/* oklch */ color: oklch(65.5% 0.076 269.5);
Tailwind
colors: {
  custom: {
    50: '#a5afd3',
    500: '#7e8fc0',
    950: '#000000',
  },
}
SCSS
$custom: #7e8fc0;
$custom-light: #a5afd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8fc0",
  "rgb": {
    "r": 126,
    "g": 143,
    "b": 192
  },
  "hsl": {
    "h": 224.545,
    "s": 34.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6553,
    "c": 0.07602,
    "h": 269.5
  },
  "luminance": 0.27886
}

Semantic roles & 50–950 ramp

primary
#7E8FC0
secondary
#D9D3C1
accent
#8F38AD
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #7E8FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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