#7E91EF#7E91EF

#7E91EF is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.3% C 0.140 H 273.5°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7E91EF
RGBrgb(126, 145, 239)
HSLhsl(230, 78%, 72%)
HSVhsv(230, 47%, 94%)
CMYKcmyk(47.3%, 39.3%, 0%, 6.3%)
CIE-LABlab(62.44, 17.90, -49.50)
CIE-LCHlch(62.44, 52.64, 289.88°)
OKLaboklab(68.28% 0.0086 -0.1399)
OKLCHoklch(68.28% 0.14 273.5)
XYZxyz(34.3047, 30.9164, 85.8045)
Luminance0.3092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E91EF #EFDC7E
analogous
#7EC9EF #7E91EF #A47EEF
triadic
#7E91EF #EF7E91 #91EF7E
tetradic
#7E91EF #EF7EC9 #EFDC7E #7EEFA4
square
#7E91EF #EF7EC9 #EFDC7E #7EEFA4
split-complementary
#7E91EF #EFA47E #C9EF7E
monochromatic
#1B3BD8 #4863E8 #7E91EF #B4BFF6 #E4E8FC

Accessibility & contrast

On white

2.92
#7E91EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#7E91EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E91EF
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E91EF#FFFFFF#000000##000000
##7E91EF1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF3
Deuteranopia (green-blind)
#6393ED
Tritanopia (blue-blind)
#53A5B4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7e91ef;
/* rgb */ color: rgb(126, 145, 239);
/* oklch */ color: oklch(68.3% 0.140 273.5);
Tailwind
colors: {
  custom: {
    50: '#a9b1f4',
    500: '#7e91ef',
    950: '#000000',
  },
}
SCSS
$custom: #7e91ef;
$custom-light: #a9b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e91ef",
  "rgb": {
    "r": 126,
    "g": 145,
    "b": 239
  },
  "hsl": {
    "h": 229.912,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68277,
    "c": 0.14014,
    "h": 273.5
  },
  "luminance": 0.30918
}

Semantic roles & 50–950 ramp

primary
#7E91EF
secondary
#F3EED6
accent
#B70BDA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E91EF

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

Preview Lab → · Contrast checker → · Palette generator →

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