#7F89EB#7F89EB

#7F89EB is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.6% C 0.145 H 277.3°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7F89EB
RGBrgb(127, 137, 235)
HSLhsl(234, 73%, 71%)
HSVhsv(234, 46%, 92%)
CMYKcmyk(46%, 41.7%, 0%, 7.8%)
CIE-LABlab(60.25, 21.66, -50.75)
CIE-LCHlch(60.25, 55.18, 293.11°)
OKLaboklab(66.55% 0.0184 -0.1436)
OKLCHoklch(66.55% 0.145 277.3)
XYZxyz(32.6889, 28.3998, 82.3404)
Luminance0.2840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F89EB #EBE17F
analogous
#7FBFEB #7F89EB #AB7FEB
triadic
#7F89EB #EB7F89 #89EB7F
tetradic
#7F89EB #EB7FBF #EBE17F #7FEBAB
square
#7F89EB #EB7FBF #EBE17F #7FEBAB
split-complementary
#7F89EB #EBAB7F #BFEB7F
monochromatic
#2031CF #4A58E3 #7F89EB #B4BAF3 #E5E7FB

Accessibility & contrast

On white

3.14
#7F89EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#7F89EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F89EB
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F89EB#FFFFFF#000000##000000
##7F89EB1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396EF
Deuteranopia (green-blind)
#5B8DE9
Tritanopia (blue-blind)
#589DAF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7f89eb;
/* rgb */ color: rgb(127, 137, 235);
/* oklch */ color: oklch(66.6% 0.145 277.3);
Tailwind
colors: {
  custom: {
    50: '#a9abf2',
    500: '#7f89eb',
    950: '#000000',
  },
}
SCSS
$custom: #7f89eb;
$custom-light: #a9abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f89eb",
  "rgb": {
    "r": 127,
    "g": 137,
    "b": 235
  },
  "hsl": {
    "h": 234.444,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66552,
    "c": 0.14474,
    "h": 277.3
  },
  "luminance": 0.28402
}

Semantic roles & 50–950 ramp

primary
#7F89EB
secondary
#F1EFD5
accent
#C310D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7F89EB

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

Preview Lab → · Contrast checker → · Palette generator →

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