#7FA5F5#7FA5F5

#7FA5F5 is a light, vivid blue. Relative luminance 0.380; OKLCH L 72.7% C 0.124 H 264.2°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#7FA5F5
RGBrgb(127, 165, 245)
HSLhsl(221, 86%, 73%)
HSVhsv(221, 48%, 96%)
CMYKcmyk(48.2%, 32.7%, 0%, 3.9%)
CIE-LABlab(68.03, 8.34, -43.97)
CIE-LCHlch(68.03, 44.75, 280.74°)
OKLaboklab(72.71% -0.0126 -0.1237)
OKLCHoklch(72.71% 0.124 264.2)
XYZxyz(38.6836, 38.0123, 91.6672)
Luminance0.3801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA5F5 #F5CF7F
analogous
#7FE0F5 #7FA5F5 #947FF5
triadic
#7FA5F5 #F57FA5 #A5F57F
tetradic
#7FA5F5 #F57FE0 #F5CF7F #7FF594
square
#7FA5F5 #F57FE0 #F5CF7F #7FF594
split-complementary
#7FA5F5 #F5947F #E0F57F
monochromatic
#1257E8 #467DF1 #7FA5F5 #B8CDF9 #E3EBFD

Accessibility & contrast

On white

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

On black

8.60
#7FA5F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA5F5
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA5F5#FFFFFF#000000##000000
##7FA5F51.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ACF8
Deuteranopia (green-blind)
#7AA1F3
Tritanopia (blue-blind)
#4DB6C2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fa5f5;
/* rgb */ color: rgb(127, 165, 245);
/* oklch */ color: oklch(72.7% 0.124 264.2);
Tailwind
colors: {
  custom: {
    50: '#aabff9',
    500: '#7fa5f5',
    950: '#000000',
  },
}
SCSS
$custom: #7fa5f5;
$custom-light: #aabff9;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa5f5",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 245
  },
  "hsl": {
    "h": 220.678,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72706,
    "c": 0.1243,
    "h": 264.2
  },
  "luminance": 0.38015
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA5F5

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

Preview Lab → · Contrast checker → · Palette generator →

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