#7FA5F7#7FA5F7

#7FA5F7 is a light, vivid blue. Relative luminance 0.381; OKLCH L 72.8% C 0.127 H 264.5°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#7FA5F7
RGBrgb(127, 165, 247)
HSLhsl(221, 88%, 73%)
HSVhsv(221, 49%, 97%)
CMYKcmyk(48.6%, 33.2%, 0%, 3.1%)
CIE-LABlab(68.12, 8.93, -44.92)
CIE-LCHlch(68.12, 45.80, 281.24°)
OKLaboklab(72.81% -0.0121 -0.1264)
OKLCHoklch(72.81% 0.127 264.5)
XYZxyz(38.9905, 38.1351, 93.2839)
Luminance0.3814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA5F7 #F7D17F
analogous
#7FE1F7 #7FA5F7 #957FF7
triadic
#7FA5F7 #F77FA5 #A5F77F
tetradic
#7FA5F7 #F77FE1 #F7D17F #7FF795
square
#7FA5F7 #F77FE1 #F7D17F #7FF795
split-complementary
#7FA5F7 #F7957F #E1F77F
monochromatic
#0F55ED #457CF3 #7FA5F7 #B9CDFB #E2EBFD

Accessibility & contrast

On white

2.43
#7FA5F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#7FA5F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA5F7
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA5F7#FFFFFF#000000##000000
##7FA5F71.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ACFA
Deuteranopia (green-blind)
#79A1F5
Tritanopia (blue-blind)
#4BB7C3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fa5f7;
/* rgb */ color: rgb(127, 165, 247);
/* oklch */ color: oklch(72.8% 0.127 264.5);
Tailwind
colors: {
  custom: {
    50: '#aabffa',
    500: '#7fa5f7',
    950: '#000000',
  },
}
SCSS
$custom: #7fa5f7;
$custom-light: #aabffa;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa5f7",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 247
  },
  "hsl": {
    "h": 221,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72806,
    "c": 0.12699,
    "h": 264.5
  },
  "luminance": 0.38138
}

Semantic roles & 50–950 ramp

primary
#7FA5F7
secondary
#F5EBD6
accent
#9D01E5
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA5F7

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

Preview Lab → · Contrast checker → · Palette generator →

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