#7F91EF#7F91EF

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

Color values

HEX#7F91EF
RGBrgb(127, 145, 239)
HSLhsl(230, 78%, 72%)
HSVhsv(230, 47%, 94%)
CMYKcmyk(46.9%, 39.3%, 0%, 6.3%)
CIE-LABlab(62.50, 18.14, -49.39)
CIE-LCHlch(62.50, 52.62, 290.16°)
OKLaboklab(68.34% 0.0096 -0.1395)
OKLCHoklch(68.34% 0.14 273.9)
XYZxyz(34.4529, 30.9929, 85.8114)
Luminance0.3100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F91EF #EFDD7F
analogous
#7FC9EF #7F91EF #A57FEF
triadic
#7F91EF #EF7F91 #91EF7F
tetradic
#7F91EF #EF7FC9 #EFDD7F #7FEFA5
square
#7F91EF #EF7FC9 #EFDD7F #7FEFA5
split-complementary
#7F91EF #EFA57F #C9EF7F
monochromatic
#1B3AD9 #4962E8 #7F91EF #B5C0F6 #E4E8FC

Accessibility & contrast

On white

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

On black

7.20
#7F91EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F91EF
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F91EF#FFFFFF#000000##000000
##7F91EF1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f91ef;
/* rgb */ color: rgb(127, 145, 239);
/* oklch */ color: oklch(68.3% 0.140 273.9);
Tailwind
colors: {
  custom: {
    50: '#a9b1f4',
    500: '#7f91ef',
    950: '#000000',
  },
}
SCSS
$custom: #7f91ef;
$custom-light: #a9b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f91ef",
  "rgb": {
    "r": 127,
    "g": 145,
    "b": 239
  },
  "hsl": {
    "h": 230.357,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68343,
    "c": 0.13988,
    "h": 273.9
  },
  "luminance": 0.30995
}

Semantic roles & 50–950 ramp

primary
#7F91EF
secondary
#F3EFD7
accent
#B90BDA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7F91EF

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

Preview Lab → · Contrast checker → · Palette generator →

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