#7FA2F5#7FA2F5

#7FA2F5 is a light, vivid blue. Relative luminance 0.369; OKLCH L 72.1% C 0.128 H 265.9°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#7FA2F5
RGBrgb(127, 162, 245)
HSLhsl(222, 86%, 73%)
HSVhsv(222, 48%, 96%)
CMYKcmyk(48.2%, 33.9%, 0%, 3.9%)
CIE-LABlab(67.23, 10.05, -45.22)
CIE-LCHlch(67.23, 46.32, 282.54°)
OKLaboklab(72.09% -0.0091 -0.1273)
OKLCHoklch(72.09% 0.128 265.9)
XYZxyz(38.1488, 36.9428, 91.4890)
Luminance0.3695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA2F5 #F5D27F
analogous
#7FDDF5 #7FA2F5 #977FF5
triadic
#7FA2F5 #F57FA2 #A2F57F
tetradic
#7FA2F5 #F57FDD #F5D27F #7FF597
square
#7FA2F5 #F57FDD #F5D27F #7FF597
split-complementary
#7FA2F5 #F5977F #DDF57F
monochromatic
#1251E8 #4679F1 #7FA2F5 #B8CBF9 #E3EAFD

Accessibility & contrast

On white

2.50
#7FA2F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#7FA2F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA2F5
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA2F5#FFFFFF#000000##000000
##7FA2F51.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A9F8
Deuteranopia (green-blind)
#769FF3
Tritanopia (blue-blind)
#4EB4C0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fa2f5;
/* rgb */ color: rgb(127, 162, 245);
/* oklch */ color: oklch(72.1% 0.128 265.9);
Tailwind
colors: {
  custom: {
    50: '#aabdf9',
    500: '#7fa2f5',
    950: '#000000',
  },
}
SCSS
$custom: #7fa2f5;
$custom-light: #aabdf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa2f5",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 245
  },
  "hsl": {
    "h": 222.203,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72089,
    "c": 0.12762,
    "h": 265.9
  },
  "luminance": 0.36945
}

Semantic roles & 50–950 ramp

primary
#7FA2F5
secondary
#F5ECD6
accent
#A003E2
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA2F5

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

Preview Lab → · Contrast checker → · Palette generator →

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