#7F99EF#7F99EF

#7F99EF is a light, vivid blue. Relative luminance 0.335; OKLCH L 69.9% C 0.130 H 270.0°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7F99EF
RGBrgb(127, 153, 239)
HSLhsl(226, 78%, 72%)
HSVhsv(226, 47%, 94%)
CMYKcmyk(46.9%, 36%, 0%, 6.3%)
CIE-LABlab(64.58, 13.48, -46.10)
CIE-LCHlch(64.58, 48.03, 286.29°)
OKLaboklab(69.95% 0.0001 -0.1299)
OKLCHoklch(69.95% 0.13 270)
XYZxyz(35.7187, 33.5244, 86.2333)
Luminance0.3353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F99EF #EFD57F
analogous
#7FD1EF #7F99EF #9D7FEF
triadic
#7F99EF #EF7F99 #99EF7F
tetradic
#7F99EF #EF7FD1 #EFD57F #7FEF9D
square
#7F99EF #EF7FD1 #EFD57F #7FEF9D
split-complementary
#7F99EF #EF9D7F #D1EF7F
monochromatic
#1B47D9 #496EE8 #7F99EF #B5C4F6 #E4E9FC

Accessibility & contrast

On white

2.73
#7F99EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#7F99EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F99EF
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F99EF#FFFFFF#000000##000000
##7F99EF1.002.737.717.71
#FFFFFF2.731.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A2F2
Deuteranopia (green-blind)
#6E98ED
Tritanopia (blue-blind)
#54ABB9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7f99ef;
/* rgb */ color: rgb(127, 153, 239);
/* oklch */ color: oklch(69.9% 0.130 270.0);
Tailwind
colors: {
  custom: {
    50: '#a9b6f4',
    500: '#7f99ef',
    950: '#000000',
  },
}
SCSS
$custom: #7f99ef;
$custom-light: #a9b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f99ef",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 239
  },
  "hsl": {
    "h": 226.071,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69946,
    "c": 0.12992,
    "h": 270
  },
  "luminance": 0.33526
}

Semantic roles & 50–950 ramp

primary
#7F99EF
secondary
#F3EDD7
accent
#AA0BDA
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7F99EF

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

Preview Lab → · Contrast checker → · Palette generator →

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