#7FA2F4#7FA2F4

#7FA2F4 is a light, vivid blue. Relative luminance 0.369; OKLCH L 72.0% C 0.126 H 265.8°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#7FA2F4
RGBrgb(127, 162, 244)
HSLhsl(222, 84%, 73%)
HSVhsv(222, 48%, 96%)
CMYKcmyk(48%, 33.6%, 0%, 4.3%)
CIE-LABlab(67.19, 9.76, -44.75)
CIE-LCHlch(67.19, 45.80, 282.31°)
OKLaboklab(72.04% -0.0093 -0.1259)
OKLCHoklch(72.04% 0.126 265.8)
XYZxyz(37.9965, 36.8819, 90.6871)
Luminance0.3688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA2F4 #F4D17F
analogous
#7FDDF4 #7FA2F4 #967FF4
triadic
#7FA2F4 #F47FA2 #A2F47F
tetradic
#7FA2F4 #F47FDD #F4D17F #7FF496
square
#7FA2F4 #F47FDD #F4D17F #7FF496
split-complementary
#7FA2F4 #F4967F #DDF47F
monochromatic
#1452E5 #4779EF #7FA2F4 #B7CBF9 #E3EBFD

Accessibility & contrast

On white

2.51
#7FA2F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#7FA2F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA2F4
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA2F4#FFFFFF#000000##000000
##7FA2F41.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A9F7
Deuteranopia (green-blind)
#769FF2
Tritanopia (blue-blind)
#4EB3C0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fa2f4;
/* rgb */ color: rgb(127, 162, 244);
/* oklch */ color: oklch(72.0% 0.126 265.8);
Tailwind
colors: {
  custom: {
    50: '#aabdf8',
    500: '#7fa2f4',
    950: '#000000',
  },
}
SCSS
$custom: #7fa2f4;
$custom-light: #aabdf8;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa2f4",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 244
  },
  "hsl": {
    "h": 222.051,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72038,
    "c": 0.12627,
    "h": 265.8
  },
  "luminance": 0.36884
}

Semantic roles & 50–950 ramp

primary
#7FA2F4
secondary
#F5ECD6
accent
#9F05E1
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101217
muted
#7F8185

Preview Lab

Preview with #7FA2F4

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

Preview Lab → · Contrast checker → · Palette generator →

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