#7FA0FF#7FA0FF

#7FA0FF is a light, vivid blue. Relative luminance 0.369; OKLCH L 72.2% C 0.143 H 268.2°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7FA0FF
RGBrgb(127, 160, 255)
HSLhsl(225, 100%, 75%)
HSVhsv(225, 50%, 100%)
CMYKcmyk(50.2%, 37.3%, 0%, 0%)
CIE-LABlab(67.18, 14.17, -50.75)
CIE-LCHlch(67.18, 52.69, 285.60°)
OKLaboklab(72.2% -0.0045 -0.1434)
OKLCHoklch(72.2% 0.144 268.2)
XYZxyz(39.3673, 36.8710, 99.6307)
Luminance0.3687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA0FF #FFDE7F
analogous
#7FE0FF #7FA0FF #9E7FFF
triadic
#7FA0FF #FF7FA0 #A0FF7F
tetradic
#7FA0FF #FF7FE0 #FFDE7F #7FFF9E
square
#7FA0FF #FF7FE0 #FFDE7F #7FFF9E
split-complementary
#7FA0FF #FF9E7F #E0FF7F
monochromatic
#0545FF #4273FF #7FA0FF #BCCDFF #E0E8FF

Accessibility & contrast

On white

2.51
#7FA0FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#7FA0FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA0FF
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA0FF#FFFFFF#000000##000000
##7FA0FF1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BAAFF
Deuteranopia (green-blind)
#6D9EFD
Tritanopia (blue-blind)
#46B4C3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fa0ff;
/* rgb */ color: rgb(127, 160, 255);
/* oklch */ color: oklch(72.2% 0.143 268.2);
Tailwind
colors: {
  custom: {
    50: '#abbbff',
    500: '#7fa0ff',
    950: '#000000',
  },
}
SCSS
$custom: #7fa0ff;
$custom-light: #abbbff;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa0ff",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 255
  },
  "hsl": {
    "h": 224.531,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72201,
    "c": 0.1435,
    "h": 268.2
  },
  "luminance": 0.36874
}

Semantic roles & 50–950 ramp

primary
#7FA0FF
secondary
#F7EED4
accent
#AA00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #7FA0FF

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

Preview Lab → · Contrast checker → · Palette generator →

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