#7FA2FA#7FA2FA

#7FA2FA is a light, vivid blue. Relative luminance 0.373; OKLCH L 72.3% C 0.134 H 266.6°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#7FA2FA
RGBrgb(127, 162, 250)
HSLhsl(223, 92%, 74%)
HSVhsv(223, 49%, 98%)
CMYKcmyk(49.2%, 35.2%, 0%, 2%)
CIE-LABlab(67.47, 11.53, -47.58)
CIE-LCHlch(67.47, 48.96, 283.62°)
OKLaboklab(72.34% -0.0079 -0.1342)
OKLCHoklch(72.34% 0.134 266.6)
XYZxyz(38.9224, 37.2522, 95.5634)
Luminance0.3725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA2FA #FAD77F
analogous
#7FE0FA #7FA2FA #9A7FFA
triadic
#7FA2FA #FA7FA2 #A2FA7F
tetradic
#7FA2FA #FA7FE0 #FAD77F #7FFA9A
square
#7FA2FA #FA7FE0 #FAD77F #7FFA9A
split-complementary
#7FA2FA #FA9A7F #E0FA7F
monochromatic
#0A4DF5 #4477F8 #7FA2FA #BACDFC #E2EAFE

Accessibility & contrast

On white

2.48
#7FA2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#7FA2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA2FA
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA2FA#FFFFFF#000000##000000
##7FA2FA1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#80AAFE
Deuteranopia (green-blind)
#739FF8
Tritanopia (blue-blind)
#4AB5C2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fa2fa;
/* rgb */ color: rgb(127, 162, 250);
/* oklch */ color: oklch(72.3% 0.134 266.6);
Tailwind
colors: {
  custom: {
    50: '#aabdfc',
    500: '#7fa2fa',
    950: '#000000',
  },
}
SCSS
$custom: #7fa2fa;
$custom-light: #aabdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa2fa",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 222.927,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72344,
    "c": 0.1344,
    "h": 266.6
  },
  "luminance": 0.37255
}

Semantic roles & 50–950 ramp

primary
#7FA2FA
secondary
#F6EDD5
accent
#A400E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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