#7FA5F6#7FA5F6

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

Color values

HEX#7FA5F6
RGBrgb(127, 165, 246)
HSLhsl(221, 87%, 73%)
HSVhsv(221, 48%, 96%)
CMYKcmyk(48.4%, 32.9%, 0%, 3.5%)
CIE-LABlab(68.07, 8.63, -44.44)
CIE-LCHlch(68.07, 45.28, 280.99°)
OKLaboklab(72.76% -0.0123 -0.125)
OKLCHoklch(72.76% 0.126 264.4)
XYZxyz(38.8366, 38.0736, 92.4734)
Luminance0.3808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA5F6 #F6D07F
analogous
#7FE1F6 #7FA5F6 #947FF6
triadic
#7FA5F6 #F67FA5 #A5F67F
tetradic
#7FA5F6 #F67FE1 #F6D07F #7FF694
square
#7FA5F6 #F67FE1 #F6D07F #7FF694
split-complementary
#7FA5F6 #F6947F #E1F67F
monochromatic
#1056EA #467DF2 #7FA5F6 #B8CDFA #E2EBFD

Accessibility & contrast

On white

2.44
#7FA5F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#7FA5F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA5F6
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA5F6#FFFFFF#000000##000000
##7FA5F61.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ACF9
Deuteranopia (green-blind)
#79A1F4
Tritanopia (blue-blind)
#4CB6C2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fa5f6;
/* rgb */ color: rgb(127, 165, 246);
/* oklch */ color: oklch(72.8% 0.126 264.4);
Tailwind
colors: {
  custom: {
    50: '#aabff9',
    500: '#7fa5f6',
    950: '#000000',
  },
}
SCSS
$custom: #7fa5f6;
$custom-light: #aabff9;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa5f6",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 246
  },
  "hsl": {
    "h": 220.84,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72756,
    "c": 0.12564,
    "h": 264.4
  },
  "luminance": 0.38076
}

Semantic roles & 50–950 ramp

primary
#7FA5F6
secondary
#F5EBD6
accent
#9B02E3
background
#FAFBFF
surface
#F4F7FF
border
#CED0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA5F6

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

Preview Lab → · Contrast checker → · Palette generator →

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