#7F9BFB#7F9BFB

#7F9BFB is a light, vivid blue. Relative luminance 0.349; OKLCH L 71.0% C 0.144 H 270.1°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#7F9BFB
RGBrgb(127, 155, 251)
HSLhsl(226, 94%, 74%)
HSVhsv(226, 49%, 98%)
CMYKcmyk(49.4%, 38.2%, 0%, 1.6%)
CIE-LABlab(65.68, 15.87, -50.94)
CIE-LCHlch(65.68, 53.35, 287.30°)
OKLaboklab(70.98% 0.0004 -0.144)
OKLCHoklch(70.98% 0.144 270.1)
XYZxyz(37.8807, 34.9173, 95.9917)
Luminance0.3492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9BFB #FBDF7F
analogous
#7FD9FB #7F9BFB #A17FFB
triadic
#7F9BFB #FB7F9B #9BFB7F
tetradic
#7F9BFB #FB7FD9 #FBDF7F #7FFBA1
square
#7F9BFB #FB7FD9 #FBDF7F #7FFBA1
split-complementary
#7F9BFB #FBA17F #D9FB7F
monochromatic
#083EF7 #446DF9 #7F9BFB #BAC9FD #E1E8FE

Accessibility & contrast

On white

2.63
#7F9BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#7F9BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F9BFB
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9BFB#FFFFFF#000000##000000
##7F9BFB1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A5FF
Deuteranopia (green-blind)
#699BF9
Tritanopia (blue-blind)
#4AAFBF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7f9bfb;
/* rgb */ color: rgb(127, 155, 251);
/* oklch */ color: oklch(71.0% 0.144 270.1);
Tailwind
colors: {
  custom: {
    50: '#aab8fd',
    500: '#7f9bfb',
    950: '#000000',
  },
}
SCSS
$custom: #7f9bfb;
$custom-light: #aab8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9bfb",
  "rgb": {
    "r": 127,
    "g": 155,
    "b": 251
  },
  "hsl": {
    "h": 226.452,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70984,
    "c": 0.144,
    "h": 270.1
  },
  "luminance": 0.3492
}

Semantic roles & 50–950 ramp

primary
#7F9BFB
secondary
#F6EFD5
accent
#B200E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#111117
muted
#808085

Preview Lab

Preview with #7F9BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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