#7FA0FB#7FA0FB

#7FA0FB is a light, vivid blue. Relative luminance 0.366; OKLCH L 72.0% C 0.138 H 267.8°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7FA0FB
RGBrgb(127, 160, 251)
HSLhsl(224, 94%, 74%)
HSVhsv(224, 49%, 98%)
CMYKcmyk(49.4%, 36.3%, 0%, 1.6%)
CIE-LABlab(66.99, 12.98, -48.88)
CIE-LCHlch(66.99, 50.57, 284.87°)
OKLaboklab(71.99% -0.0054 -0.138)
OKLCHoklch(71.99% 0.138 267.8)
XYZxyz(38.7301, 36.6161, 96.2748)
Luminance0.3662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA0FB #FBDA7F
analogous
#7FDEFB #7FA0FB #9C7FFB
triadic
#7FA0FB #FB7FA0 #A0FB7F
tetradic
#7FA0FB #FB7FDE #FBDA7F #7FFB9C
square
#7FA0FB #FB7FDE #FBDA7F #7FFB9C
split-complementary
#7FA0FB #FB9C7F #DEFB7F
monochromatic
#0848F7 #4474F9 #7FA0FB #BACCFD #E1E9FE

Accessibility & contrast

On white

2.52
#7FA0FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#7FA0FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA0FB
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA0FB#FFFFFF#000000##000000
##7FA0FB1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FF
Deuteranopia (green-blind)
#709EF9
Tritanopia (blue-blind)
#49B3C2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fa0fb;
/* rgb */ color: rgb(127, 160, 251);
/* oklch */ color: oklch(72.0% 0.138 267.8);
Tailwind
colors: {
  custom: {
    50: '#aabbfd',
    500: '#7fa0fb',
    950: '#000000',
  },
}
SCSS
$custom: #7fa0fb;
$custom-light: #aabbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa0fb",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 251
  },
  "hsl": {
    "h": 224.032,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7199,
    "c": 0.13806,
    "h": 267.8
  },
  "luminance": 0.36619
}

Semantic roles & 50–950 ramp

primary
#7FA0FB
secondary
#F6EDD5
accent
#A800E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7FA0FB

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

Preview Lab → · Contrast checker → · Palette generator →

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