#7FA2F7#7FA2F7

#7FA2F7 is a light, vivid blue. Relative luminance 0.371; OKLCH L 72.2% C 0.130 H 266.2°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7FA2F7
RGBrgb(127, 162, 247)
HSLhsl(223, 88%, 73%)
HSVhsv(223, 49%, 97%)
CMYKcmyk(48.6%, 34.4%, 0%, 3.1%)
CIE-LABlab(67.33, 10.64, -46.17)
CIE-LCHlch(67.33, 47.38, 282.98°)
OKLaboklab(72.19% -0.0086 -0.13)
OKLCHoklch(72.19% 0.13 266.2)
XYZxyz(38.4557, 37.0656, 93.1056)
Luminance0.3707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA2F7 #F7D47F
analogous
#7FDEF7 #7FA2F7 #987FF7
triadic
#7FA2F7 #F77FA2 #A2F77F
tetradic
#7FA2F7 #F77FDE #F7D47F #7FF798
square
#7FA2F7 #F77FDE #F7D47F #7FF798
split-complementary
#7FA2F7 #F7987F #DEF77F
monochromatic
#0F50ED #4578F3 #7FA2F7 #B9CCFB #E2EAFD

Accessibility & contrast

On white

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

On black

8.41
#7FA2F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA2F7
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA2F7#FFFFFF#000000##000000
##7FA2F71.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#82AAFA
Deuteranopia (green-blind)
#759FF5
Tritanopia (blue-blind)
#4CB4C1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fa2f7;
/* rgb */ color: rgb(127, 162, 247);
/* oklch */ color: oklch(72.2% 0.130 266.2);
Tailwind
colors: {
  custom: {
    50: '#aabdfa',
    500: '#7fa2f7',
    950: '#000000',
  },
}
SCSS
$custom: #7fa2f7;
$custom-light: #aabdfa;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa2f7",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 247
  },
  "hsl": {
    "h": 222.5,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7219,
    "c": 0.13033,
    "h": 266.2
  },
  "luminance": 0.37068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA2F7

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

Preview Lab → · Contrast checker → · Palette generator →

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