#7FA1F2#7FA1F2

#7FA1F2 is a light, vivid blue. Relative luminance 0.364; OKLCH L 71.7% C 0.125 H 266.0°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7FA1F2
RGBrgb(127, 161, 242)
HSLhsl(222, 82%, 72%)
HSVhsv(222, 48%, 95%)
CMYKcmyk(47.5%, 33.5%, 0%, 5.1%)
CIE-LABlab(66.83, 9.75, -44.21)
CIE-LCHlch(66.83, 45.27, 282.43°)
OKLaboklab(71.73% -0.0086 -0.1244)
OKLCHoklch(71.73% 0.125 266)
XYZxyz(37.5191, 36.4102, 89.0380)
Luminance0.3641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA1F2 #F2D07F
analogous
#7FDAF2 #7FA1F2 #977FF2
triadic
#7FA1F2 #F27FA1 #A1F27F
tetradic
#7FA1F2 #F27FDA #F2D07F #7FF297
square
#7FA1F2 #F27FDA #F2D07F #7FF297
split-complementary
#7FA1F2 #F2977F #DAF27F
monochromatic
#1752E0 #4778EC #7FA1F2 #B7CAF8 #E3EBFC

Accessibility & contrast

On white

2.54
#7FA1F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#7FA1F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA1F2
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA1F2#FFFFFF#000000##000000
##7FA1F21.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A8F5
Deuteranopia (green-blind)
#769EF0
Tritanopia (blue-blind)
#50B2BE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fa1f2;
/* rgb */ color: rgb(127, 161, 242);
/* oklch */ color: oklch(71.7% 0.125 266.0);
Tailwind
colors: {
  custom: {
    50: '#a9bcf6',
    500: '#7fa1f2',
    950: '#000000',
  },
}
SCSS
$custom: #7fa1f2;
$custom-light: #a9bcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa1f2",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 242
  },
  "hsl": {
    "h": 222.261,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71732,
    "c": 0.12468,
    "h": 266
  },
  "luminance": 0.36413
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA1F2

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

Preview Lab → · Contrast checker → · Palette generator →

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