#7E8EC0#7E8EC0

#7E8EC0 is a light, moderate blue. Relative luminance 0.276; OKLCH L 65.3% C 0.077 H 270.5°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7E8EC0
RGBrgb(126, 142, 192)
HSLhsl(225, 34%, 62%)
HSVhsv(225, 34%, 75%)
CMYKcmyk(34.4%, 26%, 0%, 24.7%)
CIE-LABlab(59.51, 6.37, -27.84)
CIE-LCHlch(59.51, 28.56, 282.88°)
OKLaboklab(65.32% 0.0006 -0.0772)
OKLCHoklch(65.32% 0.077 270.5)
XYZxyz(27.7888, 27.5863, 53.7195)
Luminance0.2759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8EC0 #C0B07E
analogous
#7EAFC0 #7E8EC0 #8F7EC0
triadic
#7E8EC0 #C07E8E #8EC07E
tetradic
#7E8EC0 #C07EAF #C0B07E #7EC08F
square
#7E8EC0 #C07EAF #C0B07E #7EC08F
split-complementary
#7E8EC0 #C08F7E #AFC07E
monochromatic
#405083 #556AAC #7E8EC0 #A7B2D4 #D0D6E8

Accessibility & contrast

On white

3.22
#7E8EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#7E8EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8EC0
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8EC0#FFFFFF#000000##000000
##7E8EC01.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E92C2
Deuteranopia (green-blind)
#788DBF
Tritanopia (blue-blind)
#6B989F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e8ec0;
/* rgb */ color: rgb(126, 142, 192);
/* oklch */ color: oklch(65.3% 0.077 270.5);
Tailwind
colors: {
  custom: {
    50: '#a5aed3',
    500: '#7e8ec0',
    950: '#000000',
  },
}
SCSS
$custom: #7e8ec0;
$custom-light: #a5aed3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8ec0",
  "rgb": {
    "r": 126,
    "g": 142,
    "b": 192
  },
  "hsl": {
    "h": 225.455,
    "s": 34.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65318,
    "c": 0.07722,
    "h": 270.5
  },
  "luminance": 0.27587
}

Semantic roles & 50–950 ramp

primary
#7E8EC0
secondary
#D9D3C1
accent
#9138AD
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #7E8EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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