#7F9AEE#7F9AEE

#7F9AEE is a light, vivid blue. Relative luminance 0.338; OKLCH L 70.1% C 0.127 H 269.4°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#7F9AEE
RGBrgb(127, 154, 238)
HSLhsl(225, 77%, 72%)
HSVhsv(225, 47%, 93%)
CMYKcmyk(46.6%, 35.3%, 0%, 6.7%)
CIE-LABlab(64.80, 12.61, -45.22)
CIE-LCHlch(64.80, 46.94, 285.58°)
OKLaboklab(70.1% -0.0013 -0.1273)
OKLCHoklch(70.1% 0.127 269.4)
XYZxyz(35.7357, 33.7941, 85.5122)
Luminance0.3380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9AEE #EED37F
analogous
#7FD2EE #7F9AEE #9C7FEE
triadic
#7F9AEE #EE7F9A #9AEE7F
tetradic
#7F9AEE #EE7FD2 #EED37F #7FEE9C
square
#7F9AEE #EE7FD2 #EED37F #7FEE9C
split-complementary
#7F9AEE #EE9C7F #D2EE7F
monochromatic
#1C4AD6 #496FE7 #7F9AEE #B5C5F5 #E4EAFB

Accessibility & contrast

On white

2.71
#7F9AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#7F9AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F9AEE
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9AEE#FFFFFF#000000##000000
##7F9AEE1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA2F1
Deuteranopia (green-blind)
#7099EC
Tritanopia (blue-blind)
#54ACB9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7f9aee;
/* rgb */ color: rgb(127, 154, 238);
/* oklch */ color: oklch(70.1% 0.127 269.4);
Tailwind
colors: {
  custom: {
    50: '#a9b7f4',
    500: '#7f9aee',
    950: '#000000',
  },
}
SCSS
$custom: #7f9aee;
$custom-light: #a9b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9aee",
  "rgb": {
    "r": 127,
    "g": 154,
    "b": 238
  },
  "hsl": {
    "h": 225.405,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70097,
    "c": 0.12734,
    "h": 269.4
  },
  "luminance": 0.33796
}

Semantic roles & 50–950 ramp

primary
#7F9AEE
secondary
#F3ECD6
accent
#A70DD9
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7F9AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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