#7FA0FA#7FA0FA

#7FA0FA is a light, vivid blue. Relative luminance 0.366; OKLCH L 71.9% C 0.137 H 267.7°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7FA0FA
RGBrgb(127, 160, 250)
HSLhsl(224, 92%, 74%)
HSVhsv(224, 49%, 98%)
CMYKcmyk(49.2%, 36%, 0%, 2%)
CIE-LABlab(66.94, 12.68, -48.41)
CIE-LCHlch(66.94, 50.04, 284.68°)
OKLaboklab(71.94% -0.0056 -0.1366)
OKLCHoklch(71.94% 0.137 267.7)
XYZxyz(38.5729, 36.5532, 95.4469)
Luminance0.3656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA0FA #FAD97F
analogous
#7FDEFA #7FA0FA #9C7FFA
triadic
#7FA0FA #FA7FA0 #A0FA7F
tetradic
#7FA0FA #FA7FDE #FAD97F #7FFA9C
square
#7FA0FA #FA7FDE #FAD97F #7FFA9C
split-complementary
#7FA0FA #FA9C7F #DEFA7F
monochromatic
#0A49F5 #4474F8 #7FA0FA #BACCFC #E2E9FE

Accessibility & contrast

On white

2.53
#7FA0FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#7FA0FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA0FA
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA0FA#FFFFFF#000000##000000
##7FA0FA1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FE
Deuteranopia (green-blind)
#709EF8
Tritanopia (blue-blind)
#4AB3C1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fa0fa;
/* rgb */ color: rgb(127, 160, 250);
/* oklch */ color: oklch(71.9% 0.137 267.7);
Tailwind
colors: {
  custom: {
    50: '#aabbfc',
    500: '#7fa0fa',
    950: '#000000',
  },
}
SCSS
$custom: #7fa0fa;
$custom-light: #aabbfc;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa0fa",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 250
  },
  "hsl": {
    "h": 223.902,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71938,
    "c": 0.1367,
    "h": 267.7
  },
  "luminance": 0.36556
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA0FA

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

Preview Lab → · Contrast checker → · Palette generator →

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