#7FA5FA#7FA5FA

#7FA5FA is a light, vivid blue. Relative luminance 0.383; OKLCH L 73.0% C 0.131 H 265.0°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7FA5FA
RGBrgb(127, 165, 250)
HSLhsl(221, 92%, 74%)
HSVhsv(221, 49%, 98%)
CMYKcmyk(49.2%, 34%, 0%, 2%)
CIE-LABlab(68.26, 9.81, -46.34)
CIE-LCHlch(68.26, 47.36, 281.96°)
OKLaboklab(72.96% -0.0114 -0.1305)
OKLCHoklch(72.96% 0.131 265)
XYZxyz(39.4572, 38.3218, 95.7416)
Luminance0.3832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA5FA #FAD47F
analogous
#7FE3FA #7FA5FA #977FFA
triadic
#7FA5FA #FA7FA5 #A5FA7F
tetradic
#7FA5FA #FA7FE3 #FAD47F #7FFA97
square
#7FA5FA #FA7FE3 #FAD47F #7FFA97
split-complementary
#7FA5FA #FA977F #E3FA7F
monochromatic
#0A52F5 #447CF8 #7FA5FA #BACEFC #E2EAFE

Accessibility & contrast

On white

2.42
#7FA5FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#7FA5FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA5FA
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA5FA#FFFFFF#000000##000000
##7FA5FA1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ACFE
Deuteranopia (green-blind)
#77A1F8
Tritanopia (blue-blind)
#49B7C4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fa5fa;
/* rgb */ color: rgb(127, 165, 250);
/* oklch */ color: oklch(73.0% 0.131 265.0);
Tailwind
colors: {
  custom: {
    50: '#aabffc',
    500: '#7fa5fa',
    950: '#000000',
  },
}
SCSS
$custom: #7fa5fa;
$custom-light: #aabffc;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa5fa",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 250
  },
  "hsl": {
    "h": 221.463,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72958,
    "c": 0.13102,
    "h": 265
  },
  "luminance": 0.38324
}

Semantic roles & 50–950 ramp

primary
#7FA5FA
secondary
#F6ECD5
accent
#9F00E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA5FA

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

Preview Lab → · Contrast checker → · Palette generator →

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