#7FA3F2#7FA3F2

#7FA3F2 is a light, vivid blue. Relative luminance 0.371; OKLCH L 72.1% C 0.122 H 264.8°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7FA3F2
RGBrgb(127, 163, 242)
HSLhsl(221, 82%, 72%)
HSVhsv(221, 48%, 95%)
CMYKcmyk(47.5%, 32.6%, 0%, 5.1%)
CIE-LABlab(67.36, 8.60, -43.38)
CIE-LCHlch(67.36, 44.22, 281.22°)
OKLaboklab(72.14% -0.011 -0.1219)
OKLCHoklch(72.14% 0.122 264.8)
XYZxyz(37.8714, 37.1148, 89.1555)
Luminance0.3712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA3F2 #F2CE7F
analogous
#7FDDF2 #7FA3F2 #947FF2
triadic
#7FA3F2 #F27FA3 #A3F27F
tetradic
#7FA3F2 #F27FDD #F2CE7F #7FF294
square
#7FA3F2 #F27FDD #F2CE7F #7FF294
split-complementary
#7FA3F2 #F2947F #DDF27F
monochromatic
#1756E0 #477BEC #7FA3F2 #B7CBF8 #E3EBFC

Accessibility & contrast

On white

2.49
#7FA3F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#7FA3F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA3F2
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA3F2#FFFFFF#000000##000000
##7FA3F21.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AAF5
Deuteranopia (green-blind)
#799FF0
Tritanopia (blue-blind)
#50B4C0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fa3f2;
/* rgb */ color: rgb(127, 163, 242);
/* oklch */ color: oklch(72.1% 0.122 264.8);
Tailwind
colors: {
  custom: {
    50: '#a9bef6',
    500: '#7fa3f2',
    950: '#000000',
  },
}
SCSS
$custom: #7fa3f2;
$custom-light: #a9bef6;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa3f2",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 242
  },
  "hsl": {
    "h": 221.217,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72144,
    "c": 0.12245,
    "h": 264.8
  },
  "luminance": 0.37117
}

Semantic roles & 50–950 ramp

primary
#7FA3F2
secondary
#F4EBD7
accent
#9B08DE
background
#FAFBFF
surface
#F4F6FE
border
#CED0D6
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA3F2

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

Preview Lab → · Contrast checker → · Palette generator →

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