#7F91F2#7F91F2

#7F91F2 is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.5% C 0.144 H 274.0°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7F91F2
RGBrgb(127, 145, 242)
HSLhsl(231, 82%, 72%)
HSVhsv(231, 48%, 95%)
CMYKcmyk(47.5%, 40.1%, 0%, 5.1%)
CIE-LABlab(62.65, 19.02, -50.81)
CIE-LCHlch(62.65, 54.25, 290.53°)
OKLaboklab(68.51% 0.0102 -0.1437)
OKLCHoklch(68.51% 0.144 274)
XYZxyz(34.8998, 31.1716, 88.1649)
Luminance0.3117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F91F2 #F2E07F
analogous
#7FCAF2 #7F91F2 #A77FF2
triadic
#7F91F2 #F27F91 #91F27F
tetradic
#7F91F2 #F27FCA #F2E07F #7FF2A7
square
#7F91F2 #F27FCA #F2E07F #7FF2A7
split-complementary
#7F91F2 #F2A77F #CAF27F
monochromatic
#1736E0 #4761EC #7F91F2 #B7C1F8 #E3E7FC

Accessibility & contrast

On white

2.90
#7F91F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#7F91F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F91F2
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F91F2#FFFFFF#000000##000000
##7F91F21.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9DF6
Deuteranopia (green-blind)
#6193F0
Tritanopia (blue-blind)
#53A5B6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7f91f2;
/* rgb */ color: rgb(127, 145, 242);
/* oklch */ color: oklch(68.5% 0.144 274.0);
Tailwind
colors: {
  custom: {
    50: '#aab1f7',
    500: '#7f91f2',
    950: '#000000',
  },
}
SCSS
$custom: #7f91f2;
$custom-light: #aab1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f91f2",
  "rgb": {
    "r": 127,
    "g": 145,
    "b": 242
  },
  "hsl": {
    "h": 230.609,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68508,
    "c": 0.14404,
    "h": 274
  },
  "luminance": 0.31174
}

Semantic roles & 50–950 ramp

primary
#7F91F2
secondary
#F4F0D7
accent
#BC08DE
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7F91F2

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

Preview Lab → · Contrast checker → · Palette generator →

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