#7E91C2#7E91C2

#7E91C2 is a light, moderate blue. Relative luminance 0.286; OKLCH L 66.0% C 0.077 H 267.9°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7E91C2
RGBrgb(126, 145, 194)
HSLhsl(223, 36%, 63%)
HSVhsv(223, 35%, 76%)
CMYKcmyk(35.1%, 25.3%, 0%, 23.9%)
CIE-LABlab(60.41, 5.17, -27.58)
CIE-LCHlch(60.41, 28.06, 280.62°)
OKLaboklab(66.04% -0.0028 -0.0765)
OKLCHoklch(66.04% 0.077 267.9)
XYZxyz(28.4643, 28.5803, 55.0452)
Luminance0.2858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E91C2 #C2AF7E
analogous
#7EB3C2 #7E91C2 #8D7EC2
triadic
#7E91C2 #C27E91 #91C27E
tetradic
#7E91C2 #C27EB3 #C2AF7E #7EC28D
square
#7E91C2 #C27EB3 #C2AF7E #7EC28D
split-complementary
#7E91C2 #C28D7E #B3C27E
monochromatic
#3F5386 #546EAE #7E91C2 #A8B4D6 #D1D8E9

Accessibility & contrast

On white

3.13
#7E91C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#7E91C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E91C2
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E91C2#FFFFFF#000000##000000
##7E91C21.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8195C4
Deuteranopia (green-blind)
#7B8FC1
Tritanopia (blue-blind)
#6A9BA2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e91c2;
/* rgb */ color: rgb(126, 145, 194);
/* oklch */ color: oklch(66.0% 0.077 267.9);
Tailwind
colors: {
  custom: {
    50: '#a5b1d4',
    500: '#7e91c2',
    950: '#000000',
  },
}
SCSS
$custom: #7e91c2;
$custom-light: #a5b1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e91c2",
  "rgb": {
    "r": 126,
    "g": 145,
    "b": 194
  },
  "hsl": {
    "h": 223.235,
    "s": 35.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66043,
    "c": 0.07654,
    "h": 267.9
  },
  "luminance": 0.28581
}

Semantic roles & 50–950 ramp

primary
#7E91C2
secondary
#DAD3C2
accent
#8D37AF
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #7E91C2

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

Preview Lab → · Contrast checker → · Palette generator →

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