#7E91DB#7E91DB

#7E91DB is a light, moderate blue. Relative luminance 0.298; OKLCH L 67.2% C 0.112 H 272.1°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7E91DB
RGBrgb(126, 145, 219)
HSLhsl(228, 56%, 68%)
HSVhsv(228, 42%, 86%)
CMYKcmyk(42.5%, 33.8%, 0%, 14.1%)
CIE-LABlab(61.48, 12.09, -39.92)
CIE-LCHlch(61.48, 41.71, 286.85°)
OKLaboklab(67.23% 0.0042 -0.112)
OKLCHoklch(67.23% 0.112 272.1)
XYZxyz(31.5118, 29.7993, 71.0955)
Luminance0.2980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E91DB #DBC87E
analogous
#7EBFDB #7E91DB #997EDB
triadic
#7E91DB #DB7E91 #91DB7E
tetradic
#7E91DB #DB7EBF #DBC87E #7EDB99
square
#7E91DB #DB7EBF #DBC87E #7EDB99
split-complementary
#7E91DB #DB997E #BFDB7E
monochromatic
#314AAE #4E68CE #7E91DB #AEBAE8 #DEE3F6

Accessibility & contrast

On white

3.02
#7E91DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#7E91DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E91DB
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E91DB#FFFFFF#000000##000000
##7E91DB1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799DE
Deuteranopia (green-blind)
#6F91D9
Tritanopia (blue-blind)
#5FA0AC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7e91db;
/* rgb */ color: rgb(126, 145, 219);
/* oklch */ color: oklch(67.2% 0.112 272.1);
Tailwind
colors: {
  custom: {
    50: '#a7b1e6',
    500: '#7e91db',
    950: '#000000',
  },
}
SCSS
$custom: #7e91db;
$custom-light: #a7b1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e91db",
  "rgb": {
    "r": 126,
    "g": 145,
    "b": 219
  },
  "hsl": {
    "h": 227.742,
    "s": 56.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67227,
    "c": 0.11209,
    "h": 272.1
  },
  "luminance": 0.29801
}

Semantic roles & 50–950 ramp

primary
#7E91DB
secondary
#E9E3CC
accent
#A322C4
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #7E91DB

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

Preview Lab → · Contrast checker → · Palette generator →

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