#7F8BF2#7F8BF2

#7F8BF2 is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.3% C 0.152 H 276.5°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7F8BF2
RGBrgb(127, 139, 242)
HSLhsl(234, 82%, 72%)
HSVhsv(234, 48%, 95%)
CMYKcmyk(47.5%, 42.6%, 0%, 5.1%)
CIE-LABlab(61.12, 22.54, -53.24)
CIE-LCHlch(61.12, 57.81, 292.95°)
OKLaboklab(67.34% 0.0172 -0.1508)
OKLCHoklch(67.34% 0.152 276.5)
XYZxyz(34.0071, 29.3862, 87.8674)
Luminance0.2939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8BF2 #F2E67F
analogous
#7FC5F2 #7F8BF2 #AC7FF2
triadic
#7F8BF2 #F27F8B #8BF27F
tetradic
#7F8BF2 #F27FC5 #F2E67F #7FF2AC
square
#7F8BF2 #F27FC5 #F2E67F #7FF2AC
split-complementary
#7F8BF2 #F2AC7F #C5F27F
monochromatic
#172CE0 #4759EC #7F8BF2 #B7BDF8 #E3E6FC

Accessibility & contrast

On white

3.05
#7F8BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#7F8BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8BF2
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8BF2#FFFFFF#000000##000000
##7F8BF21.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#588FF0
Tritanopia (blue-blind)
#54A1B3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7f8bf2;
/* rgb */ color: rgb(127, 139, 242);
/* oklch */ color: oklch(67.3% 0.152 276.5);
Tailwind
colors: {
  custom: {
    50: '#aaacf7',
    500: '#7f8bf2',
    950: '#000000',
  },
}
SCSS
$custom: #7f8bf2;
$custom-light: #aaacf7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8bf2",
  "rgb": {
    "r": 127,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 233.739,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67337,
    "c": 0.1518,
    "h": 276.5
  },
  "luminance": 0.29388
}

Semantic roles & 50–950 ramp

primary
#7F8BF2
secondary
#F4F1D7
accent
#C808DE
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7F8BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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