#7FA2F2#7FA2F2

#7FA2F2 is a light, vivid blue. Relative luminance 0.368; OKLCH L 71.9% C 0.124 H 265.4°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#7FA2F2
RGBrgb(127, 162, 242)
HSLhsl(222, 82%, 72%)
HSVhsv(222, 48%, 95%)
CMYKcmyk(47.5%, 33.1%, 0%, 5.1%)
CIE-LABlab(67.10, 9.17, -43.80)
CIE-LCHlch(67.10, 44.75, 281.83°)
OKLaboklab(71.94% -0.0098 -0.1232)
OKLCHoklch(71.94% 0.124 265.4)
XYZxyz(37.6945, 36.7611, 89.0965)
Luminance0.3676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA2F2 #F2CF7F
analogous
#7FDCF2 #7FA2F2 #967FF2
triadic
#7FA2F2 #F27FA2 #A2F27F
tetradic
#7FA2F2 #F27FDC #F2CF7F #7FF296
square
#7FA2F2 #F27FDC #F2CF7F #7FF296
split-complementary
#7FA2F2 #F2967F #DCF27F
monochromatic
#1754E0 #477AEC #7FA2F2 #B7CAF8 #E3EBFC

Accessibility & contrast

On white

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

On black

8.35
#7FA2F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA2F2
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA2F2#FFFFFF#000000##000000
##7FA2F21.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A9F5
Deuteranopia (green-blind)
#789FF0
Tritanopia (blue-blind)
#50B3BF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fa2f2;
/* rgb */ color: rgb(127, 162, 242);
/* oklch */ color: oklch(71.9% 0.124 265.4);
Tailwind
colors: {
  custom: {
    50: '#a9bdf6',
    500: '#7fa2f2',
    950: '#000000',
  },
}
SCSS
$custom: #7fa2f2;
$custom-light: #a9bdf6;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa2f2",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 242
  },
  "hsl": {
    "h": 221.739,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71938,
    "c": 0.12355,
    "h": 265.4
  },
  "luminance": 0.36763
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA2F2

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

Preview Lab → · Contrast checker → · Palette generator →

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