#7FA2FF#7FA2FF

#7FA2FF is a light, vivid blue. Relative luminance 0.376; OKLCH L 72.6% C 0.141 H 267.2°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#7FA2FF
RGBrgb(127, 162, 255)
HSLhsl(224, 100%, 75%)
HSVhsv(224, 50%, 100%)
CMYKcmyk(50.2%, 36.5%, 0%, 0%)
CIE-LABlab(67.70, 13.02, -49.93)
CIE-LCHlch(67.70, 51.60, 284.62°)
OKLaboklab(72.61% -0.0068 -0.141)
OKLCHoklch(72.61% 0.141 267.2)
XYZxyz(39.7168, 37.5700, 99.7472)
Luminance0.3757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA2FF #FFDC7F
analogous
#7FE2FF #7FA2FF #9C7FFF
triadic
#7FA2FF #FF7FA2 #A2FF7F
tetradic
#7FA2FF #FF7FE2 #FFDC7F #7FFF9C
square
#7FA2FF #FF7FE2 #FFDC7F #7FFF9C
split-complementary
#7FA2FF #FF9C7F #E2FF7F
monochromatic
#0549FF #4276FF #7FA2FF #BCCEFF #E0E9FF

Accessibility & contrast

On white

2.47
#7FA2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#7FA2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA2FF
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA2FF#FFFFFF#000000##000000
##7FA2FF1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EABFF
Deuteranopia (green-blind)
#70A0FD
Tritanopia (blue-blind)
#45B6C4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7fa2ff;
/* rgb */ color: rgb(127, 162, 255);
/* oklch */ color: oklch(72.6% 0.141 267.2);
Tailwind
colors: {
  custom: {
    50: '#abbdff',
    500: '#7fa2ff',
    950: '#000000',
  },
}
SCSS
$custom: #7fa2ff;
$custom-light: #abbdff;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa2ff",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 255
  },
  "hsl": {
    "h": 223.594,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72605,
    "c": 0.14117,
    "h": 267.2
  },
  "luminance": 0.37573
}

Semantic roles & 50–950 ramp

primary
#7FA2FF
secondary
#F7EED4
accent
#A700E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#111218
muted
#808186

Preview Lab

Preview with #7FA2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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